Skip to content

Commit

Permalink
Add props to installer page
Browse files Browse the repository at this point in the history
  • Loading branch information
shironegi39 committed Sep 24, 2024
1 parent 5edf9bf commit 1cc5b0f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/app/src/pages/installer.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import Head from 'next/head';
import { NoLoginLayout } from '~/components/Layout/NoLoginLayout';
import type { CrowiRequest } from '~/interfaces/crowi-request';
import {
useCsrfToken, useAppTitle, useSiteUrl, useConfidential,
useCsrfToken, useAppTitle, useSiteUrl, useConfidential, useGrowiCloudUri,
} from '~/stores-universal/context';

import type { CommonProps } from './utils/commons';
Expand Down Expand Up @@ -57,6 +57,7 @@ const InstallerPage: NextPage<Props> = (props: Props) => {
useSiteUrl(props.siteUrl);
useConfidential(props.confidential);
useCsrfToken(props.csrfToken);
useGrowiCloudUri(props.growiCloudUri);

const title = generateCustomTitle(props, t('installer.title'));
const classNames: string[] = [];
Expand Down

0 comments on commit 1cc5b0f

Please sign in to comment.