Skip to content

Commit

Permalink
ProtectedPageWrapper moved to core components
Browse files Browse the repository at this point in the history
  • Loading branch information
juliancwirko committed Nov 27, 2022
1 parent 00482fb commit 26e0b60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useEffect, PropsWithChildren, FC } from 'react';
import { Spinner, Stack } from '@chakra-ui/react';
import { useRouter } from 'next/router';
import { useLogin } from '../hooks/auth/useLogin';
import { useLogin } from '../../hooks/auth/useLogin';

interface ProtectedPageWrapper {
redirectPath?: string;
Expand Down
2 changes: 1 addition & 1 deletion pages/profile.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ProtectedPageWrapper } from '../components/ProtectedPageWrapper';
import { ProtectedPageWrapper } from '../components/core/ProtectedPageWrapper';
import { MainLayout } from '../components/MainLayout';
import { HeaderMenu } from '../components/HeaderMenu';
import { HeaderMenuButtons } from '../components/HeaderMenuButtons';
Expand Down

0 comments on commit 26e0b60

Please sign in to comment.