Skip to content

Commit

Permalink
fixed broken dialogs
Browse files Browse the repository at this point in the history
  • Loading branch information
atiderko committed Jul 19, 2024
1 parent 704e27c commit 67ad5b1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
Typography,
} from "@mui/material";
import PropTypes from "prop-types";
import { useCallback, useContext, useEffect, useState } from "react";
import { useCallback, useContext, useEffect, useRef, useState } from "react";
import { LoggingContext } from "../../context/LoggingContext";
import { RosContext } from "../../context/RosContext";
import useLocalStorage from "../../hooks/useLocalStorage";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Button, Dialog, DialogActions, DialogContent, DialogContentText, DialogTitle } from "@mui/material";
import PropTypes from "prop-types";
import { useState } from "react";
import { useRef, useState } from "react";
import DraggablePaper from "../UI/DraggablePaper";

function ConfirmModal({ title, message, onConfirmCallback, onCancelCallback }) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
ListItemText,
} from "@mui/material";
import PropTypes from "prop-types";
import { useState } from "react";
import { useRef, useState } from "react";
import DraggablePaper from "../UI/DraggablePaper";

function ListSelectionModal({ list, setList, onConfirmCallback }) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
RadioGroup,
} from "@mui/material";
import PropTypes from "prop-types";
import { useState } from "react";
import { useRef, useState } from "react";
import DraggablePaper from "../UI/DraggablePaper";

function MapSelectionModal({ list, onConfirmCallback, onCancelCallback = null, useRadioGroup = false }) {
Expand Down

0 comments on commit 67ad5b1

Please sign in to comment.