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

refactored react imports

This commit is contained in:
Fedor Katurov 2023-11-20 22:35:07 +06:00
parent a9a220273f
commit 7a7b7a4bf9
253 changed files with 679 additions and 479 deletions

View file

@ -1,4 +1,4 @@
import React, { FC } from 'react';
import { FC } from 'react';
import { Group } from '~/components/common/Group';
import { Sticky } from '~/components/common/Sticky';

View file

@ -1,5 +1,3 @@
import React from 'react';
import { LoadingProgress } from '~/components/common/LoadingProgress';
import { HeaderSSR } from '~/containers/main/Header/ssr';

View file

@ -1,4 +1,4 @@
import React, { useCallback } from 'react';
import { useCallback } from 'react';
import { observer } from 'mobx-react-lite';

View file

@ -1,4 +1,4 @@
import React, { useCallback, VFC } from 'react';
import { useCallback, VFC } from 'react';
import { useRouter } from 'next/router';
@ -19,7 +19,9 @@ const NotFoundLayout: VFC<NotFoundLayoutProps> = () => {
<div className={styles.block}>
<div className={styles.text}>
<h1>Потерян навсегда</h1>
<p className={styles.caption}>Этой страницы никогда не существовало</p>
<p className={styles.caption}>
Этой страницы никогда не существовало
</p>
<Button
color="outline-white"

View file

@ -1,4 +1,4 @@
import React, { FC } from 'react';
import { FC } from 'react';
import { Anchor } from '~/components/common/Anchor';
import { Button } from '~/components/input/Button';

View file

@ -1,4 +1,4 @@
import React, { FC } from 'react';
import { FC } from 'react';
import { Card } from '~/components/common/Card';
import { Sticky } from '~/components/common/Sticky';

View file

@ -1,5 +1,3 @@
import React from 'react';
import { HistorySlide } from '~/components/welcome/HistorySlide';
import { PersonsSlide } from '~/components/welcome/PersonsSlide';
import { WelcomeSlide } from '~/components/welcome/WelcomeSlide';