diff --git a/lama_cleaner/app/src/App.tsx b/lama_cleaner/app/src/App.tsx index 2f269e0..162bfc3 100644 --- a/lama_cleaner/app/src/App.tsx +++ b/lama_cleaner/app/src/App.tsx @@ -1,12 +1,14 @@ import { ArrowLeftIcon } from '@heroicons/react/outline' import React, { useState } from 'react' -import { useWindowSize } from 'react-use' +import { useToggle, useWindowSize } from 'react-use' import Button from './components/Button' import FileSelect from './components/FileSelect' +import ShortcutsModal from './components/ShortcutsModal' import Editor from './Editor' function App() { const [file, setFile] = useState() + const [showShortcuts, toggleShowShortcuts] = useToggle(false) const windowSize = useWindowSize() return ( @@ -27,6 +29,7 @@ function App() { {file ? (