Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Form, Formik } from "formik"; | |
import React, { useState } from "react"; | |
import "./App.css"; | |
/* To view the result in a browser, create a new react app and replace the existing App.jsx file with this file */ | |
function App() { | |
const [numAddresses, setNumAddresses] = useState(1); | |
const localStorageAddresses = JSON.parse( | |
localStorage.getItem("savedAddresses") || "[]" |