Skip to content

Commit

Permalink
fixed simulator error
Browse files Browse the repository at this point in the history
  • Loading branch information
akanshaaa19 committed Feb 26, 2025
1 parent 51ceb91 commit a3c2636
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/simulator/Simulator.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useState, useEffect, useCallback, useRef } from 'react';
import { useState, useEffect, useCallback, useRef } from 'react';
import { useApolloClient, useLazyQuery, useSubscription } from '@apollo/client';
import AttachFileIcon from '@mui/icons-material/AttachFile';
import { Button, ClickAwayListener } from '@mui/material';
Expand Down Expand Up @@ -131,7 +131,7 @@ const Simulator = ({
const [inputMessage, setInputMessage] = useState('');
const [simulatedMessages, setSimulatedMessage] = useState<any>();
const [isOpen, setIsOpen] = useState(false);
const nodeRef = React.useRef<HTMLDivElement>(null!);
const nodeRef = useRef<HTMLDivElement>(null!);

const client = useApolloClient();
// Template listing
Expand Down

0 comments on commit a3c2636

Please sign in to comment.