mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-25 00:59:50 +00:00
chore: Refactoring all import directories to alias and all .js|.jsx renamed to be .ts|.tsx
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
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} />;
|
||||
}
|
||||
Reference in New Issue
Block a user