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 => {
5454 // landing page
5555 | {base : [], pagepath : []} => <LandingPageLayout > content </LandingPageLayout >
5656 // 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
5859 switch pagepath [0 ] {
5960 | Some ("api" ) =>
6061 switch url -> Url .getVersionString {
@@ -121,7 +122,8 @@ let make = (props: props): React.element => {
121122 }
122123 }
123124
124- | {base : ["docs" , "react" ], version } => switch version {
125+ | {base : ["docs" , "react" ], version } =>
126+ switch version {
125127 | Latest =>
126128 <ReactDocsLayout .Latest frontmatter = {component -> frontmatter }>
127129 content
You can’t perform that action at this time.
0 commit comments