From dbfc56a497041a3e5f1cd290f831c4297bea4c08 Mon Sep 17 00:00:00 2001 From: Taylor Bantle Date: Mon, 13 Nov 2023 16:30:13 -0800 Subject: [PATCH] web: Fix lint --- web/components/pageComponents/ConfigurationPage/useConfig.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/components/pageComponents/ConfigurationPage/useConfig.ts b/web/components/pageComponents/ConfigurationPage/useConfig.ts index b77149c3..9e6e18aa 100644 --- a/web/components/pageComponents/ConfigurationPage/useConfig.ts +++ b/web/components/pageComponents/ConfigurationPage/useConfig.ts @@ -52,7 +52,7 @@ export default function useConfig(): ReturnType { e.preventDefault(); setState({ loading: true }); const url = - state.connectionUrl ?? + state.connectionUrl || `mysql://${state.username}:${state.password}@${state.host}:${state.port}/${state.database}`; try {