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

fix eslint

This commit is contained in:
Fedor Katurov 2023-10-30 21:49:10 +06:00
parent e4b158dada
commit a26e4168fd
80 changed files with 199 additions and 205 deletions

View file

@ -1,5 +1,3 @@
import { FC } from 'react';
import classNames from 'classnames';
import { FlowGrid } from '~/components/flow/FlowGrid';

View file

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

View file

@ -31,7 +31,10 @@ const NodeLayout = observer(() => {
useNodeCoverImage(node);
const onUnauthorizedLike = useCallback(() => showRegisterDialog({}), []);
const onUnauthorizedLike = useCallback(
() => showRegisterDialog({}),
[showRegisterDialog],
);
return (
<div className={styles.wrap}>

View file

@ -1,5 +1,6 @@
import React, { FC } from 'react';
import { Anchor } from '~/components/common/Anchor';
import { Button } from '~/components/input/Button';
import { Role } from '~/constants/auth';
import { Dialog } from '~/constants/modal';
@ -26,7 +27,7 @@ const RoomLayout: FC<RoomLayoutProps> = () => {
<p>
Пока ещё концепт, над которым я размышляю, ты видишь его, потому
что включил суперсилы в <a href="/boris">Борисе</a>.
что включил суперсилы в <Anchor href="/boris">Борисе</Anchor>.
</p>
<p>