1import React from 'react';
2import { useFormState } from 'react-final-form';
3import { ErrorText } from 'indigo-react';
5export default function FormError() {
6 const { submitError } = useFormState({ subscription: { submitError: true } });
8 return submitError ? <ErrorText>{submitError}</ErrorText> : null;
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list