mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Run prettier across the react source.
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
// Based on https://thenable.io/building-a-use-socket-hook-in-react.
|
||||
|
||||
import { ReactChild, createContext, useEffect, useState } from "react";
|
||||
|
||||
import { WEBSOCKET_URL } from "../../api/backend";
|
||||
import { ReactChild, createContext, useEffect, useState } from "react";
|
||||
|
||||
const socket = new WebSocket(WEBSOCKET_URL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user