This file contains hidden or 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
const originalBase64Body = {"data":"/9j/4AAQSkZJRgABAQAASABIAAD/4QBMRXhpZgAATU0AKgAAAAgAAgESAAMAAAABAAEAAIdpAAQAAAABAAAAJgAAAAAAAqACAAQAAAABAAAEOKADAAQAAAABAAAHgAAAAAD/7QA4UGhvdG9zaG9wIDMuMAA4QklNBAQAAAAAAAA4QklNBCUAAAAAABDUHYzZjwCyBOmACZjs+EJ+/+ICKElDQ19QUk9GSUxFAAEBAAACGGFwcGwEAAAAbW50clJHQiBYWVogB+YAAQABAAAAAAAAYWNzcEFQUEwAAAAAQVBQTAAAAAAAAAAAAAAAAAAAAAAAAPbWAAEAAAAA0y1hcHBs7P2jjjiFR8NttL1PetoYLwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKZGVzYwAAAPwAAAAwY3BydAAAASwAAABQd3RwdAAAAXwAAAAUclhZWgAAAZAAAAAUZ1hZWgAAAaQAAAAUYlhZWgAAAbgAAAAUclRSQwAAAcwAAAAgY2hhZAAAAewAAAAsYlRSQwAAAcwAAAAgZ1RSQwAAAcwAAAAgbWx1YwAAAAAAAAABAAAADGVuVVMAAAAUAAAAHABEAGkAcwBwAGwAYQB5ACAAUAAzbWx1YwAAAAAAAAABAAAADGVuVVMAAAA0AAAAHABDAG8AcAB5AHIAaQBnAGgAdAAgAEEAcABwAGwAZQAgAEkAbgBjAC4ALAAgADIAMAAyADJYWVogAAAAAAAA9tUAAQAAAADTLFhZWiAAAAAAAACD3wAAPb////+7WFlaIAAAAAAAAEq/AACxNwAACrlYWVogAAAAAAAAKDgAABELAADIuXBhcmEAAAAAAAMAAAACZmYAAPKnAAANWQAAE9AAAApbc2YzMgAAAAAAAQxCAAAF3v//8yYAAAeTAAD9kP//+6L///2jAAAD3AAAwG7/wAARCAeABDgDASIAAhEBAxEB/8QAHwAAAQUBAQEB |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
This file contains hidden or 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
------------------------------------- | |
Translated Report (Full Report Below) | |
------------------------------------- | |
Incident Identifier: 8510F12C-070A-4E06-91DB-550BA0AA5BC6 | |
CrashReporter Key: A3083891-366B-6B4B-E986-855E9E8C4D35 | |
Hardware Model: MacBookPro16,1 | |
Process: Expo Go [29609] | |
Path: /Users/USER/Library/Developer/CoreSimulator/Devices/628DFE77-ACA7-4E5C-B124-7569D6B24436/data/Containers/Bundle/Application/AED97F51-FE20-4184-8B4A-180DFEF81060/Exponent-2.25.3.tar.app/Expo Go | |
Identifier: host.exp.Exponent |
This file contains hidden or 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
------------------------------------- | |
Translated Report (Full Report Below) | |
------------------------------------- | |
Incident Identifier: CD13C53E-3BA0-40A3-B4C7-C9FD0DAD5B42 | |
CrashReporter Key: A3083891-366B-6B4B-E986-855E9E8C4D35 | |
Hardware Model: MacBookPro16,1 | |
Process: Expo Go [20898] | |
Path: /Users/USER/Library/Developer/CoreSimulator/Devices/628DFE77-ACA7-4E5C-B124-7569D6B24436/data/Containers/Bundle/Application/AED97F51-FE20-4184-8B4A-180DFEF81060/Exponent-2.25.3.tar.app/Expo Go | |
Identifier: host.exp.Exponent |
This file contains hidden or 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 { useState, useEffect, useRef } from "react"; | |
const useCustomForm = ({ | |
initialValues, | |
onSubmit | |
}) => { | |
const [values, setValues] = useState(initialValues || {}); | |
const [errors, setErrors] = useState({}); | |
const [touched, setTouched] = useState({}); | |
const [onSubmitting, setOnSubmitting] = useState<boolean>(false); |