Added auth headers to api requests

This commit is contained in:
Paweł Malak
2021-11-12 12:38:01 +01:00
parent 0d36c5cf94
commit d94a6cea5a
12 changed files with 135 additions and 56 deletions

View File

@@ -5,7 +5,7 @@ import axios from 'axios';
import { useSelector } from 'react-redux';
// Typescript
import { Weather, ApiResponse, Config } from '../../../interfaces';
import { Weather, ApiResponse } from '../../../interfaces';
// CSS
import classes from './WeatherWidget.module.css';