From 1b51062e3855db92427c49e16c98084cc7211e37 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Mon, 5 Jan 2026 03:55:43 +0000 Subject: [PATCH] style: format code with Prettier and StandardJS This commit fixes the style issues introduced in 697431a according to the output from Prettier and StandardJS. Details: None --- src/routers/utils/index.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/routers/utils/index.jsx b/src/routers/utils/index.jsx index 3c5ead47..f8a84f95 100644 --- a/src/routers/utils/index.jsx +++ b/src/routers/utils/index.jsx @@ -18,7 +18,7 @@ export const createRoute = (config) => { const route = { path, element, - ...rest, + ...rest } if (index) { @@ -36,7 +36,7 @@ export const createRoute = (config) => { i18nKey, key: key || path, auth, - ...safeMeta, + ...safeMeta } } @@ -69,7 +69,7 @@ export const flattenRoutes = (routes) => { result.push({ ...(route.meta && typeof route.meta === 'object' ? route.meta : {}), path: fullPath, - element: route.element, + element: route.element }) }