Skip to content

Commit

Permalink
🐛 fix(vercel): Fix deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
canisminor1990 committed Jul 16, 2023
1 parent 170567a commit 626c4ce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions next-i18next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ module.exports = {
defaultLocale: i18n.entryLocale,
locales: [i18n.entryLocale, ...i18n.outputLocales],
},
localePath:
typeof window === 'undefined' ? require('node:path').resolve('./', i18n.output) : '/locales',
react: { useSuspense: false },
reloadOnPrerender: process.env.NODE_ENV === 'development',
strictMode: true,
Expand Down
3 changes: 3 additions & 0 deletions src/pages/setting/index.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import Head from 'next/head';
import { memo } from 'react';
import { Flexbox } from 'react-layout-kit';

import { Sessions } from '@/pages/chat/SessionList';

import Sidebar from '../Sidebar';
import Header from './Header';

Expand All @@ -16,6 +18,7 @@ const SettingLayout = memo(() => {
</Head>
<Flexbox horizontal width={'100%'}>
<Sidebar />
<Sessions />
<Flexbox flex={1}>
<Header />
</Flexbox>
Expand Down

0 comments on commit 626c4ce

Please sign in to comment.