Skip to content

Commit

Permalink
fix build of mdx file
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-burel committed Oct 11, 2021
1 parent 8b1814b commit 285f8dc
Show file tree
Hide file tree
Showing 2 changed files with 686 additions and 695 deletions.
6 changes: 2 additions & 4 deletions src/pages/learn/models-and-graphql.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,13 @@ If this button is still disabled:
<StepIfElse

step={3}
ifOk={<NextMuiButton variant="contained" href=="/learn/final">Click to go to next step</NextMuiButton>}
ifOk={<NextMuiButton variant="contained" href="/learn/final">Click to go to next step</NextMuiButton>}
ifNotOk={

<Button variant="contained" disabled={true}>
Please complete step 2 to activate this button
</Button>
}

> </StepIfElse>
} />

export default function MongoPage(props) {
return <LearnLayout {...props} />;
Expand Down
Loading

0 comments on commit 285f8dc

Please sign in to comment.