mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
- `eslint` and `prettier` configs - `husky` to format and lint via pre-commit hook - `babel-plugin-transform-imports` to treeshake `lodash` and other packages if needed Lints and formats codebase.
37 lines
1.0 KiB
TypeScript
37 lines
1.0 KiB
TypeScript
import ImageUploader from 'common/components/ImageUploader';
|
|
import Console from 'features/system/components/Console';
|
|
import ProgressBar from 'features/system/components/ProgressBar';
|
|
import SiteHeader from 'features/system/components/SiteHeader';
|
|
import InvokeTabs from 'features/ui/components/InvokeTabs';
|
|
import { keepGUIAlive } from './utils';
|
|
|
|
import useToastWatcher from 'features/system/hooks/useToastWatcher';
|
|
|
|
import FloatingGalleryButton from 'features/ui/components/FloatingGalleryButton';
|
|
import FloatingParametersPanelButtons from 'features/ui/components/FloatingParametersPanelButtons';
|
|
|
|
keepGUIAlive();
|
|
|
|
const App = () => {
|
|
useToastWatcher();
|
|
|
|
return (
|
|
<div className="App">
|
|
<ImageUploader>
|
|
<ProgressBar />
|
|
<div className="app-content">
|
|
<SiteHeader />
|
|
<InvokeTabs />
|
|
</div>
|
|
<div className="app-console">
|
|
<Console />
|
|
</div>
|
|
</ImageUploader>
|
|
<FloatingParametersPanelButtons />
|
|
<FloatingGalleryButton />
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default App;
|