🚑 Critical hotfix for various bugs

This commit is contained in:
ajnart committed 2022-05-26 00:10:48 +02:00
1 parent c725559e9b
commit 1ec8f1db19
5 files changed
+2 -20

No files matched your search

+1 -1
View File
@@ -51,7 +51,7 @@ export function ConfigProvider({ children }: Props) {
async function loadConfig(configName: string) {
try {
const response = await axios.get(`/api/configs/${configName}`);
setConfigInternal(response.data);
setConfigInternal(JSON.parse(response.data));
showNotification({
title: 'Config',
icon: <Check />,