group posts
This commit is contained in:
@@ -286,7 +286,6 @@ const authSlice = createSlice({
|
||||
state.error = action.payload as string;
|
||||
|
||||
// Если пользователь не авторизован (401), делаем logout и пытаемся refresh
|
||||
console.log(action);
|
||||
if (
|
||||
action.payload === 'Unauthorized' ||
|
||||
action.payload === 'Failed to fetch user info'
|
||||
|
||||
Reference in New Issue
Block a user