jaredpalmer / formik

Build forms in React, without the tears 😭
https://formik.org
Apache License 2.0
34.01k stars 2.79k forks source link

Docs examples not working #3822

Open mohammedgad opened 1 year ago

mohammedgad commented 1 year ago

Bug report

While checking the examples in the docs It did not work and it kept saying it's not found or it's private and you need to sign in

Current Behavior

Can not view the docs' examples

image

Expected behavior

Should be able to view the docs' examples

hut8 commented 1 year ago

Figured out why: master was renamed to main.

This is the source of the iframe what's in the docs:

https://codesandbox.io/embed/github/formik/formik/tree/master/examples/with-material-ui?fontsize=14&hidenavigation=1&theme=dark

Replace master -> main, and it works:

https://codesandbox.io/embed/github/formik/formik/tree/main/examples/with-material-ui?fontsize=14&hidenavigation=1&theme=dark

hut8 commented 1 year ago

I just went to go fix this, and it has already been fixed in the code, but for some reason the deployment isn't deploying the code that's in main to the docs site!

https://formik-docs-56t7ulzcq-formik.vercel.app/docs/examples/with-material-ui works fine. I think this is something only @jaredpalmer can probably fix.

mohammedgad commented 1 year ago

Thank you @hut8!