fix: import useCallback (#1045)

This commit is contained in:
Himself65 authored and GitHub committed 2023-02-16 04:13:40 +00:00
1 parent cdc2b449a9
commit 8774df46f9
1 file changed
+1 -1
@@ -1,7 +1,7 @@
import { Modal, ModalWrapper } from '@affine/component';
import { IconButton } from '@affine/component';
import { useTranslation } from '@affine/i18n';
import { useState } from 'react';
import { useCallback, useState } from 'react';
import router from 'next/router';
import { toast } from '@affine/component';
import { CloseIcon } from '@blocksuite/icons';