From 3081c5fd7d146a19ef2b31484905914cd247af5b Mon Sep 17 00:00:00 2001 From: Z1chi Date: Fri, 20 Jan 2023 18:32:01 +0300 Subject: [PATCH] rename TagSelect.css --- src/api/request.js | 2 +- src/components/Select/TagSelect.js | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) 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 ( <> -
+
-

+

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

-
+