💄 Small UI qol update

Module download now has a different look and can be toggled on and off
This commit is contained in:
ajnart
2022-06-08 18:41:22 +02:00
parent f75da289c2
commit d631865f71
5 changed files with 36 additions and 21 deletions

View File

@@ -26,7 +26,10 @@ export default function ConfigChanger() {
label="Config loader"
onChange={(e) => {
loadConfig(e ?? 'default');
setCookies('config-name', e ?? 'default', { maxAge: 60 * 60 * 24 * 30, sameSite: 'strict' });
setCookies('config-name', e ?? 'default', {
maxAge: 60 * 60 * 24 * 30,
sameSite: 'strict',
});
}}
data={
// If config list is empty, return the current config