Skip to content

Commit

Permalink
πŸ› Fix: μ—λŸ¬ μˆ˜μ •
Browse files Browse the repository at this point in the history
  • Loading branch information
ruehan committed Dec 8, 2024
1 parent c2efa84 commit 5efadbc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/pages/WalkPage/components/WalkModal/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { SetStateAction, useState, useEffect } from 'react'
import * as S from './styles'
import Select from '~components/Select'
import { WalkModalProps, RequestUserInfo, OtherUserInfo } from '~types/modal'
import { WalkModalProps, RequestUserInfo } from '~types/modal'
import { useWebSocket } from '~/WebSocketContext'

const reportOptions = [
Expand All @@ -11,9 +11,8 @@ const reportOptions = [

const WalkModal = ({ type, userInfo, onClose, onConfirm, onCancel }: WalkModalProps) => {
const [message, setMessage] = useState('')
const { publish, isConnected } = useWebSocket()
const { publish } = useWebSocket()

console.log(userInfo)
const handleConfirm = () => {
if (type === 'request') {
const proposalData = {
Expand Down

0 comments on commit 5efadbc

Please sign in to comment.