URL de la page de modification de Gatsby

Use THIS instead of windows.location.replace() to avoid breaking build styling!

import React from "react"
import { navigate } from "gatsby"

const Form = () => (
  <form
    onSubmit={event => {
      event.preventDefault()
      // TODO: do something with form values
      navigate("/form-submitted/")
    }}
  >
    {/* (skip form inputs for brevity) */}
  </form>
)
Witty Walrus