make popup reset state on close

This commit is contained in:
SethBurkart123
2023-10-22 21:59:14 +11:00
parent 78789ff454
commit 48d4ae231e
4 changed files with 52 additions and 8 deletions
+1 -2
View File
@@ -11,7 +11,6 @@ import Themes from './pages/Themes';
//import About from './pages/About';
const App: React.FC = () => {
const { standalone, setStandalone } = useSettingsContext();
useEffect(() => {
@@ -35,7 +34,7 @@ const App: React.FC = () => {
title: 'Themes',
content: <Themes />
}
];
];
return (
<div className={`flex flex-col w-[384px] shadow-2xl gap-2 bg-white ${ standalone ? '' : 'rounded-xl' } h-[600px] overflow-clip dark:bg-zinc-800 dark:text-white`}>