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:
parent
a9a220273f
commit
7a7b7a4bf9
253 changed files with 679 additions and 479 deletions
|
@ -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';
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
import React from 'react';
|
||||
|
||||
import { LoadingProgress } from '~/components/common/LoadingProgress';
|
||||
import { HeaderSSR } from '~/containers/main/Header/ssr';
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import React, { useCallback } from 'react';
|
||||
import { useCallback } from 'react';
|
||||
|
||||
import { observer } from 'mobx-react-lite';
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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';
|
||||
|
|
|
@ -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';
|
||||
|
|
|
@ -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';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue