Skip to content

Commit

Permalink
Fix example switch
Browse files Browse the repository at this point in the history
  • Loading branch information
supnate committed Mar 16, 2024
1 parent 5ca720c commit 4a2c03a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/examples-antd/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ function App() {
<select
className="lib-switch"
value="antd"
onChange={(e) => (document.location = `./${e.target.value}`)}
onChange={(e) => (document.location = `../${e.target.value}`)}
>
<option value="antd">Ant.Design</option>
<option value="formik">Formik + MUI</option>
Expand Down
2 changes: 1 addition & 1 deletion packages/examples-formik/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ function App() {
<select
className="lib-switch"
value="formik"
onChange={(e) => (document.location = `./${e.target.value}`)}
onChange={(e) => (document.location = `../${e.target.value}`)}
>
<option value="antd">Ant.Design</option>
<option value="formik">Formik + MUI</option>
Expand Down

0 comments on commit 4a2c03a

Please sign in to comment.