Skip to content

Commit 8175d79

Browse files
authored
fix(docs/examples): fix broken codesandbox links (#3819)
Closes #3818 - Replace `master` with `main` to fix 404 at all codesandbox examples
1 parent 20f6848 commit 8175d79

11 files changed

Lines changed: 11 additions & 11 deletions

docs/examples/async-submission.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This example demonstrates how to use `async`/`await` to submit a Formik form.
77

88
<div className="embed-responsive aspect-ratio-square">
99
<iframe
10-
src="https://codesandbox.io/embed/github/formik/formik/tree/master/examples/async-submission?fontsize=14&hidenavigation=1&theme=dark"
10+
src="https://codesandbox.io/embed/github/formik/formik/tree/main/examples/async-submission?fontsize=14&hidenavigation=1&theme=dark"
1111
style={{ width:'100%', height: '100%', border:0, borderRadius: 4, overflow: 'hidden'}}
1212
title="formik/formik: async-submission"
1313
allow="accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking"

docs/examples/basic.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This example demonstrates how to use Formik in its most basic way.
77

88
<div className="embed-responsive aspect-ratio-square">
99
<iframe
10-
src="https://codesandbox.io/embed/github/formik/formik/tree/master/examples/basic?fontsize=14&hidenavigation=1&theme=dark"
10+
src="https://codesandbox.io/embed/github/formik/formik/tree/main/examples/basic?fontsize=14&hidenavigation=1&theme=dark"
1111
style={{ width:'100%', height: '100%', border:0, borderRadius: 4, overflow: 'hidden'}}
1212
title="formik/formik: async-submission"
1313
allow="accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking"

docs/examples/checkboxes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This example demonstrates how to use Formik with a checkbox group. Given that th
77

88
<div className="embed-responsive aspect-ratio-square">
99
<iframe
10-
src="https://codesandbox.io/embed/github/formik/formik/tree/master/examples/checkboxes?fontsize=14&hidenavigation=1&theme=dark"
10+
src="https://codesandbox.io/embed/github/formik/formik/tree/main/examples/checkboxes?fontsize=14&hidenavigation=1&theme=dark"
1111
style={{ width:'100%', height: '100%', border:0, borderRadius: 4, overflow: 'hidden'}}
1212
title="formik/formik: async-submission"
1313
allow="accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking"

docs/examples/dependent-fields-async-api-request.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This is an example of a complex dependent field in Formik. In this example, one
77

88
<div className="embed-responsive aspect-ratio-square">
99
<iframe
10-
src="https://codesandbox.io/embed/github/formik/formik/tree/master/examples/dependent-fields-async-api-request?fontsize=14&hidenavigation=1&theme=dark"
10+
src="https://codesandbox.io/embed/github/formik/formik/tree/main/examples/dependent-fields-async-api-request?fontsize=14&hidenavigation=1&theme=dark"
1111
style={{ width:'100%', height: '100%', border:0, borderRadius: 4, overflow: 'hidden'}}
1212
title="formik/formik: async-submission"
1313
allow="accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking"

docs/examples/dependent-fields.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This is an example of how to set the value of one field based on the current val
77

88
<div className="embed-responsive aspect-ratio-square">
99
<iframe
10-
src="https://codesandbox.io/embed/github/formik/formik/tree/master/examples/dependent-fields?fontsize=14&hidenavigation=1&theme=dark"
10+
src="https://codesandbox.io/embed/github/formik/formik/tree/main/examples/dependent-fields?fontsize=14&hidenavigation=1&theme=dark"
1111
style={{ width:'100%', height: '100%', border:0, borderRadius: 4, overflow: 'hidden'}}
1212
title="formik/formik: async-submission"
1313
allow="accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking"

docs/examples/field-arrays.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This example demonstrates how to work with array fields in Formik.
66

77
<div className="embed-responsive aspect-ratio-square">
88
<iframe
9-
src="https://codesandbox.io/embed/github/formik/formik/tree/master/examples/field-arrays?fontsize=14&hidenavigation=1&theme=dark"
9+
src="https://codesandbox.io/embed/github/formik/formik/tree/main/examples/field-arrays?fontsize=14&hidenavigation=1&theme=dark"
1010
style={{ width:'100%', height: '100%', border:0, borderRadius: 4, overflow: 'hidden'}}
1111
title="formik/formik: async-submission"
1212
allow="accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking"

docs/examples/instant-feedback.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Instant feedback during typing can be extremely helpful in certain situations. F
66

77
<div className="embed-responsive aspect-ratio-square">
88
<iframe
9-
src="https://codesandbox.io/embed/github/formik/formik/tree/master/examples/instant-feedback?fontsize=14&hidenavigation=1&theme=dark"
9+
src="https://codesandbox.io/embed/github/formik/formik/tree/main/examples/instant-feedback?fontsize=14&hidenavigation=1&theme=dark"
1010
style={{ width:'100%', height: '100%', border:0, borderRadius: 4, overflow: 'hidden'}}
1111
title="formik/formik: async-submission"
1212
allow="accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking"

docs/examples/more-examples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
title: More Examples
33
---
44

5-
You can find additional examples in [`examples` folder of the Formik GitHub repository](https://github.com/formik/formik/tree/master/examples/).
5+
You can find additional examples in [`examples` folder of the Formik GitHub repository](https://github.com/formik/formik/tree/main/examples/).

docs/examples/radio-group.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This example demonstrates how to create a radio group with Formik.
77

88
<div className="embed-responsive aspect-ratio-square">
99
<iframe
10-
src="https://codesandbox.io/embed/github/formik/formik/tree/master/examples/radio-group?fontsize=14&hidenavigation=1&theme=dark"
10+
src="https://codesandbox.io/embed/github/formik/formik/tree/main/examples/radio-group?fontsize=14&hidenavigation=1&theme=dark"
1111
style={{ width:'100%', height: '100%', border:0, borderRadius: 4, overflow: 'hidden'}}
1212
title="formik/formik: async-submission"
1313
allow="accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking"

docs/examples/typescript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This example demonstrates how to use Formik in its most basic way with TypeScrip
77

88
<div className="embed-responsive aspect-ratio-square">
99
<iframe
10-
src="https://codesandbox.io/embed/github/formik/formik/tree/master/examples/basic-typescript?fontsize=14&hidenavigation=1&theme=dark"
10+
src="https://codesandbox.io/embed/github/formik/formik/tree/main/examples/basic-typescript?fontsize=14&hidenavigation=1&theme=dark"
1111
style={{ width:'100%', height: '100%', border:0, borderRadius: 4, overflow: 'hidden'}}
1212
title="formik/formik: async-submission"
1313
allow="accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking"

0 commit comments

Comments
 (0)