Skip to content

Commit

Permalink
remove warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
thewh1teagle committed Nov 18, 2023
1 parent e77f269 commit b22f960
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion web/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ interface Message {
function App() {
const params = new URLSearchParams(window.location.search);

const [peer, setPeer] = useState(new Peer());
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const [peer,] = useState(new Peer());
const [conn, setConn] = useState<DataConnection | null>(null)

function sendMessage(data: Message) {
Expand All @@ -32,6 +33,7 @@ function App() {
})


// eslint-disable-next-line react-hooks/exhaustive-deps
}, [])

return (
Expand Down

0 comments on commit b22f960

Please sign in to comment.