From 20b85ef98050c5f7f52c998f778780a4b28002d4 Mon Sep 17 00:00:00 2001 From: DarkSky Date: Thu, 22 Dec 2022 20:08:42 +0800 Subject: [PATCH] fix: loading --- packages/app/src/components/import/index.tsx | 2 +- packages/app/src/pages/affine.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/app/src/components/import/index.tsx b/packages/app/src/components/import/index.tsx index 812d0b4995..3667309a34 100644 --- a/packages/app/src/components/import/index.tsx +++ b/packages/app/src/components/import/index.tsx @@ -2,7 +2,7 @@ import { Modal, ModalWrapper, ModalCloseButton } from '@/ui/modal'; import { StyledButtonWrapper, StyledTitle } from './styles'; import { Button } from '@/ui/button'; import { Wrapper, Content } from '@/ui/layout'; -import { Loading } from '@/components/loading'; +import Loading from '@/components/loading'; import { useEffect, useState } from 'react'; type ImportModalProps = { open: boolean; diff --git a/packages/app/src/pages/affine.tsx b/packages/app/src/pages/affine.tsx index 31bc1a53bf..76eaa9e1f4 100644 --- a/packages/app/src/pages/affine.tsx +++ b/packages/app/src/pages/affine.tsx @@ -1,5 +1,5 @@ import { displayFlex, styled } from '@/styles'; -import { Loading } from '@/components/loading'; +import Loading from '@/components/loading'; import Modal from '@/ui/modal'; import { useState } from 'react'; import { Button } from '@/ui/button';