mirror of
https://github.com/Nezumi-2711/react-training.git
synced 2026-09-22 13:38:51 +00:00
Format code style
This commit is contained in:
@@ -22,5 +22,3 @@ dist-ssr
|
|||||||
*.njsproj
|
*.njsproj
|
||||||
*.sln
|
*.sln
|
||||||
*.sw?
|
*.sw?
|
||||||
|
|
||||||
db.json
|
|
||||||
|
|||||||
@@ -11,7 +11,14 @@ const UserDialog = forwardRef((props, ref) => {
|
|||||||
const dialogRef = ref as React.MutableRefObject<
|
const dialogRef = ref as React.MutableRefObject<
|
||||||
HTMLDialogElement | undefined
|
HTMLDialogElement | undefined
|
||||||
>;
|
>;
|
||||||
const { onClose, setReload, reload, user, isAdd } = props;
|
// prettier-ignore
|
||||||
|
const {
|
||||||
|
onClose,
|
||||||
|
setReload,
|
||||||
|
reload,
|
||||||
|
user,
|
||||||
|
isAdd
|
||||||
|
} = props;
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (dialogRef.current) {
|
if (dialogRef.current) {
|
||||||
|
|||||||
Reference in New Issue
Block a user