mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-13 12:58:35 +03:00
fix: import useCallback
(#1045)
This commit is contained in:
parent
cdc2b449a9
commit
8774df46f9
@ -1,7 +1,7 @@
|
|||||||
import { Modal, ModalWrapper } from '@affine/component';
|
import { Modal, ModalWrapper } from '@affine/component';
|
||||||
import { IconButton } from '@affine/component';
|
import { IconButton } from '@affine/component';
|
||||||
import { useTranslation } from '@affine/i18n';
|
import { useTranslation } from '@affine/i18n';
|
||||||
import { useState } from 'react';
|
import { useCallback, useState } from 'react';
|
||||||
import router from 'next/router';
|
import router from 'next/router';
|
||||||
import { toast } from '@affine/component';
|
import { toast } from '@affine/component';
|
||||||
import { CloseIcon } from '@blocksuite/icons';
|
import { CloseIcon } from '@blocksuite/icons';
|
||||||
|
Loading…
Reference in New Issue
Block a user