Skip to content

Commit

Permalink
fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Crownpack07 committed Nov 15, 2024
1 parent dbd096d commit 4b8df4e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"deploy": "npm run build-storybook && gh-pages -d build-sb",
"preversion": "npm run clean && npm run build && npm run deploy",
"postversion": "git push && git push --tags && npm publish",
"format": "prettier --write --trailing-comma es5 --single-quote 'src/**/*' 'test/**/*' 'README.md' '/docs/**/*.md'",
"format:check": "prettier --check --trailing-comma es5 --single-quote 'src/**/*' 'test/**/*' 'README.md' '/docs/**/*.md'",
"format": "prettier --write --trailing-comma es5 --single-quote 'src/**/*' 'README.md'",
"format:check": "prettier --check --trailing-comma es5 --single-quote 'src/**/*' 'README.md'",
"test": "jest"
},
"publishConfig": {
Expand Down
4 changes: 2 additions & 2 deletions src/FormikPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ type Values = any;

export const FormikPanel = memo(({ active }: { active?: boolean }) => {
const [formikState, setFormikState] = useState<Partial<FormikState<Values>>>(
{},
{}
);
const [submittedValues, setSubmittedValues] = useState<Values[]>([]);

Expand All @@ -123,7 +123,7 @@ export const FormikPanel = memo(({ active }: { active?: boolean }) => {
[EVT_ON_SUBMIT]: async (values: Values) =>
await setSubmittedValues([...submittedValues, values]),
},
[],
[]
);

const { values, errors, touched, isValidating, isSubmitting, submitCount } =
Expand Down

0 comments on commit 4b8df4e

Please sign in to comment.