File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 7979 <a
8080 v-for =" f of data.functions"
8181 :key =" f"
82- :href =" isProduction ? `/docs/hooks/${f}/` : `/${f}/`"
82+ :href ="
83+ isProduction
84+ ? `/docs/hooks/${data?.functionsMap?.[f] ?? f}/`
85+ : `/${data?.functionsMap?.[f] ?? f}/`
86+ "
8387 target =" _blank"
8488 >
8589 <code >{{ f }}</code >
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ export interface CoreTeam {
1414 description : string
1515 packages ?: string [ ]
1616 functions ?: string [ ]
17+ functionsMap ?: Record < string , string >
1718}
1819
1920const contributorsAvatars : Record < string , string > = { }
@@ -56,6 +57,9 @@ const coreTeamMembers: CoreTeam[] = [
5657 github : 'Noobbbbbbb' ,
5758 description : '' ,
5859 functions : [ 'useFullscreen' ] ,
60+ functionsMap : {
61+ useFullscreen : 'useFull'
62+ }
5963 }
6064]
6165// .sort(
You can’t perform that action at this time.
0 commit comments