|
|
@@ -13,11 +13,7 @@ import { serverSideTranslations } from 'next-i18next/serverSideTranslations';
|
|
|
|
|
|
import { NoLoginLayout } from '~/components/Layout/NoLoginLayout';
|
|
|
import type { CrowiRequest } from '~/interfaces/crowi-request';
|
|
|
-import {
|
|
|
- useCsrfToken,
|
|
|
- useCurrentPathname,
|
|
|
- useCurrentUser,
|
|
|
-} from '~/stores-universal/context';
|
|
|
+import { useCurrentPathname, useCurrentUser } from '~/stores-universal/context';
|
|
|
|
|
|
import type { CommonProps } from './utils/commons';
|
|
|
import {
|
|
|
@@ -41,7 +37,6 @@ type Props = CommonProps & {
|
|
|
const InvitedPage: NextPage<Props> = (props: Props) => {
|
|
|
const { t } = useTranslation();
|
|
|
|
|
|
- useCsrfToken(props.csrfToken);
|
|
|
useCurrentPathname(props.currentPathname);
|
|
|
useCurrentUser(props.currentUser);
|
|
|
|