Skip to content

Commit 8c3ae89

Browse files
committed
fix app.res formatting
1 parent ee9d495 commit 8c3ae89

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/common/App.res

+4-2
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)