remove lading page

This commit is contained in:
Qing
2022-10-08 13:30:35 +08:00
parent 724b8c232d
commit 4980675730
5 changed files with 44 additions and 23 deletions

View File

@@ -12,11 +12,7 @@ import {
} from '../adapters/inpainting'
import SidePanel from './SidePanel/SidePanel'
interface WorkspaceProps {
file: File
}
const Workspace = ({ file }: WorkspaceProps) => {
const Workspace = () => {
const [settings, setSettingState] = useRecoilState(settingState)
const [toastVal, setToastState] = useRecoilState(toastState)
const isSD = useRecoilValue(isSDState)
@@ -85,7 +81,7 @@ const Workspace = ({ file }: WorkspaceProps) => {
return (
<>
{isSD ? <SidePanel /> : <></>}
<Editor file={file} />
<Editor />
<SettingModal onClose={onSettingClose} />
<ShortcutsModal />
<Toast