import React from 'react'; import AdminBox from '@/components/admin/AdminBox'; import tw from 'twin.macro'; import Field from '@/components/elements/Field'; import SpinnerOverlay from '@/components/elements/SpinnerOverlay'; import { Form, useFormikContext } from 'formik'; import { Context } from '@/components/admin/nodes/NodeRouter'; export default () => { const { isSubmitting } = useFormikContext(); const node = Context.useStoreState(state => state.node); if (node === undefined) { return ( <> ); } return (
); };