mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-09 07:12:40 +00:00
remove comments
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
// Dialog box, for popups and modal blocking messages
|
// Dialog box, for popups and modal blocking messages
|
||||||
import React from "react"; // Correct the import statement
|
import React from "react";
|
||||||
const { useRef, useEffect } = React; // Use React instead of react
|
const { useRef, useEffect } = React;
|
||||||
|
|
||||||
function Dialog({ dismissKeys, closeText = 'Close', blocking = false, ...rest }) {
|
function Dialog({ dismissKeys, closeText = 'Close', blocking = false, ...rest }) {
|
||||||
const dialogRef = useRef(null);
|
const dialogRef = useRef(null);
|
||||||
|
|||||||
Reference in New Issue
Block a user