diff --git a/src/api/request.js b/src/api/request.js index db429d31..0c6b8255 100644 --- a/src/api/request.js +++ b/src/api/request.js @@ -31,7 +31,7 @@ export const apiRequest = (url, { }) .then(response => new Promise(resolve => { if (response.data.redirect || response.status === 401) { - window.location.reduce('/'); + window.location.replace('/'); localStorage.clear(); // dispatch(auth(false)); } diff --git a/src/components/Select/TagSelect.js b/src/components/Select/TagSelect.js index 1763e691..2d10a308 100644 --- a/src/components/Select/TagSelect.js +++ b/src/components/Select/TagSelect.js @@ -11,7 +11,7 @@ import { setPositionId } from '../../redux/outstaffingSlice' -import style from './TagSelect.css' +import './TagSelect.css' const TagSelect = () => { @@ -43,20 +43,20 @@ const TagSelect = () => { return ( <> -
+
-

+

Найти специалиста по навыкам

-
+