Переписываю спорные решения
This commit is contained in:
1 parent
6f6ab5c4ce
commit
e15ce861a3
2 files changed
+2
-2
No files matched your search
@@ -25,7 +25,7 @@ export const ProfileHeader = () => {
|
||||
const [isLoggingOut, setIsLoggingOut] = useState(false);
|
||||
|
||||
useEffect(() => {
|
||||
apiRequest(`/api/profile/${localStorage.getItem('cardId')}`)
|
||||
apiRequest(`/profile/${localStorage.getItem('cardId')}`)
|
||||
.then((profileInfo) =>
|
||||
dispatch(setProfileInfo(profileInfo))
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user