mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
fix(console): remove redundant forwardRef
from DetailsForm
(#2526)
This commit is contained in:
parent
6b909f033f
commit
1e0a21a703
1 changed files with 1 additions and 2 deletions
|
@ -1,4 +1,3 @@
|
||||||
import { forwardRef } from 'react';
|
|
||||||
import type { ReactNode } from 'react';
|
import type { ReactNode } from 'react';
|
||||||
|
|
||||||
import SubmitFormChangesActionBar from '../SubmitFormChangesActionBar';
|
import SubmitFormChangesActionBar from '../SubmitFormChangesActionBar';
|
||||||
|
@ -26,4 +25,4 @@ const DetailsForm = ({ isDirty, isSubmitting, onSubmit, onDiscard, children }: P
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
export default forwardRef(DetailsForm);
|
export default DetailsForm;
|
||||||
|
|
Loading…
Reference in a new issue