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 79
79
<a
80
80
v-for =" f of data.functions"
81
81
: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
+ "
83
87
target =" _blank"
84
88
>
85
89
<code >{{ f }}</code >
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ export interface CoreTeam {
14
14
description : string
15
15
packages ?: string [ ]
16
16
functions ?: string [ ]
17
+ functionsMap ?: Record < string , string >
17
18
}
18
19
19
20
const contributorsAvatars : Record < string , string > = { }
@@ -56,6 +57,9 @@ const coreTeamMembers: CoreTeam[] = [
56
57
github : 'Noobbbbbbb' ,
57
58
description : '' ,
58
59
functions : [ 'useFullscreen' ] ,
60
+ functionsMap : {
61
+ useFullscreen : 'useFull'
62
+ }
59
63
}
60
64
]
61
65
// .sort(
You can’t perform that action at this time.
0 commit comments