🚑 Critical hotfix for various bugs

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

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 />,