We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 117d76a commit bc1c259Copy full SHA for bc1c259
docs/app.config.ts
@@ -124,9 +124,16 @@ const motions = {
124
125
// disable all documentation motions
126
Object.entries(motions).forEach(([_, val]) => {
127
- Object.keys(val).forEach((x) => {
128
- // @ts-expect-error looping through keys so should be fine
129
- val[x] = {}
+ Object.keys(val).forEach((k) => {
+ // nested motion config
+ if (['h1', 'common'].includes(k)) {
130
+ Object.keys(val).forEach((kNested) => {
131
+ val[k][kNested] = {}
132
+ })
133
+ }
134
+ else {
135
+ val[k] = {}
136
137
})
138
139
0 commit comments