Skip to content

Instantly share code, notes, and snippets.

import type { CSSProperties, Dispatch, SetStateAction } from 'react';
import { useState } from 'react';
interface CreateUserFormProps {
setUserWasCreated: Dispatch<SetStateAction<boolean>>;
}
const TOKEN = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOlsidGFudTc0NDkyQGdtYWlsLmNvbSJdLCJpc3MiOiJoZW5uZ2UtYWRtaXNzaW9uLWNoYWxsZW5nZSIsInN1YiI6ImNoYWxsZW5nZSJ9.N0VeCad_-C04pkjmq1pslpboOnkCuQnB4EO-mB_q2Aw";
const passwordCriteria = [