0
Fork 0
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:
Xiao Yijun 2022-11-24 17:21:29 +08:00 committed by GitHub
parent 6b909f033f
commit 1e0a21a703
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;