0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-23 20:33:16 -05:00

Merge pull request #515 from logto-io/charles-fix-incorrect-get-started-markdown-paths

fix(console): get-started markdown file paths
This commit is contained in:
Charles Zhao 2022-04-07 18:21:02 +08:00 committed by GitHub
commit 27243e645a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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]
);