From f02aadcb57f3936f1dcebfe570e418c1d04f626d Mon Sep 17 00:00:00 2001 From: Jeremy LaCivita Date: Fri, 23 Aug 2024 10:44:25 -0400 Subject: [PATCH] fix: Return empty config, not null --- src/shared/configLoader.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/configLoader.mjs b/src/shared/configLoader.mjs index 644a7f4e..ca9f8fb5 100644 --- a/src/shared/configLoader.mjs +++ b/src/shared/configLoader.mjs @@ -12,7 +12,7 @@ export const loadConfig = async (language) => { export const getConfig = () => { if (!config) { - return null; + return {}; } return config }