mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-24 00:29:49 +00:00
18 lines
410 B
TypeScript
18 lines
410 B
TypeScript
// @ts-nocheck
|
|
import React from 'react';
|
|
import { useFormikContext } from 'formik';
|
|
import { FormikObserver } from '@/components';
|
|
|
|
/**
|
|
* Role form observer.
|
|
* @returns {React.JSX}
|
|
*/
|
|
export function RoleFormObserver() {
|
|
const { values } = useFormikContext();
|
|
|
|
// Handles the form change.
|
|
const handleFormChange = () => {};
|
|
|
|
return <FormikObserver onChange={handleFormChange} values={values} />;
|
|
}
|