From 86c2d37892a24f62c2cb4d33a4ce668547664a9c Mon Sep 17 00:00:00 2001 From: Charles Zhao Date: Thu, 7 Apr 2022 18:07:38 +0800 Subject: [PATCH] fix(console): get-started markdown file paths --- packages/console/src/pages/GetStarted/hooks/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/console/src/pages/GetStarted/hooks/index.ts b/packages/console/src/pages/GetStarted/hooks/index.ts index 2b0e7e8f7..775b87294 100644 --- a/packages/console/src/pages/GetStarted/hooks/index.ts +++ b/packages/console/src/pages/GetStarted/hooks/index.ts @@ -21,7 +21,7 @@ export type GetStartedType = 'application' | 'connector'; export const useGetStartedSteps = (type: GetStartedType, subtype?: string) => { const subPath = subtype ? `/${subtype}` : ''; const publicPath = useMemo( - () => `/console/get-started/${type}${subPath}/${i18next.language}`, + () => `/console/get-started/${type}${subPath}/${i18next.language}`.toLowerCase(), [type, subPath] );