File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,8 @@ let make = (props: props): React.element => {
54
54
// landing page
55
55
| {base : [], pagepath : []} => <LandingPageLayout > content </LandingPageLayout >
56
56
// docs routes
57
- | {base : ["docs" , "manual" ], pagepath } => // check if it's an api route
57
+ | {base : ["docs" , "manual" ], pagepath } =>
58
+ // check if it's an api route
58
59
switch pagepath [0 ] {
59
60
| Some ("api" ) =>
60
61
switch url -> Url .getVersionString {
@@ -121,7 +122,8 @@ let make = (props: props): React.element => {
121
122
}
122
123
}
123
124
124
- | {base : ["docs" , "react" ], version } => switch version {
125
+ | {base : ["docs" , "react" ], version } =>
126
+ switch version {
125
127
| Latest =>
126
128
<ReactDocsLayout .Latest frontmatter = {component -> frontmatter }>
127
129
content
You can’t perform that action at this time.
0 commit comments