Remove JSON and add 🍪 Tryconfig save cookies

This commit is contained in:
Aj - Thomas committed 2022-05-12 23:05:54 +02:00
1 parent 3ce9c98e03
commit 98e4da5a3b
4 files changed
+2 -20

No files matched your search

+1
View File
@@ -79,6 +79,7 @@ export default function TryConfig(props: any) {
label="Config loader"
onChange={(e) => {
loadConfig(e ?? 'default');
setCookies('config-name', e ?? 'default', { maxAge: 60 * 60 * 24 * 30 });
}}
data={
// If config list is empty, return the current config