File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,13 +10,13 @@ import { WhenToggled } from './WhenToggled.jsx'
10
10
11
11
export const DescribeModel = ( props : { model : ModelID } ) => {
12
12
const location = useNavigation ( )
13
- const model = models [ props . model ]
13
+ const model = ( ) => models [ props . model ]
14
14
return (
15
15
< aside class = "model-definition boxed" title = "Model" >
16
16
< header class = "pad" >
17
17
< h3 >
18
18
< Documentation size = { 20 } strokeWidth = { 1 } />
19
- { model . about . title }
19
+ { model ( ) . about . title }
20
20
</ h3 >
21
21
< ToggleButton title = "definition" id = "describe-model" />
22
22
</ header >
@@ -35,7 +35,7 @@ export const DescribeModel = (props: { model: ModelID }) => {
35
35
} ,
36
36
] ,
37
37
} ) }
38
- title = { `Search for all ${ model . about . title } devices` }
38
+ title = { `Search for all ${ model ( ) . about . title } devices` }
39
39
>
40
40
< Search strokeWidth = { 1 } size = { 20 } />
41
41
</ a >
@@ -47,7 +47,7 @@ export const DescribeModel = (props: { model: ModelID }) => {
47
47
< dt >
48
48
< span class = "info" > Description</ span >
49
49
</ dt >
50
- < dd > { model . about . description } </ dd >
50
+ < dd > { model ( ) . about . description } </ dd >
51
51
< dt >
52
52
< span class = "info" > Source</ span >
53
53
</ dt >
You can’t perform that action at this time.
0 commit comments