1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-29 14:46:41 +07:00

add eslint-plugin-prettier

This commit is contained in:
Fedor Katurov 2025-01-24 17:51:59 +07:00
parent 0e4d2bf44d
commit ba0604ab9d
69 changed files with 419 additions and 249 deletions

View file

@ -4,9 +4,12 @@ import type { HeaderProps } from '~/containers/main/Header/index';
import styles from './styles.module.scss';
export const HeaderSSR = dynamic<HeaderProps>(() => import('./index').then(it => it.Header), {
ssr: false,
loading: () => <div className={styles.wrap} />,
});
export const HeaderSSR = dynamic<HeaderProps>(
() => import('./index').then((it) => it.Header),
{
ssr: false,
loading: () => <div className={styles.wrap} />,
},
);
export const HeaderSSRPlaceholder = () => <div className={styles.wrap} />;

View file

@ -3,5 +3,6 @@ import dynamic from 'next/dynamic';
import type { SubmitBarProps } from './index';
export const SubmitBarSSR = dynamic<SubmitBarProps>(
() => import('./index').then(it => it.SubmitBar),
{ ssr: false });
() => import('./index').then((it) => it.SubmitBar),
{ ssr: false },
);