From 8fbea27fb2cf03a8bd5d4c71797472d392dc1320 Mon Sep 17 00:00:00 2001 From: Rishi Ghan Date: Sat, 23 Oct 2021 23:32:25 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Trying=20out=20some=20refactorin?= =?UTF-8?q?g=20on=20socket=20connection=20to=20Import=20service?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/client/components/Navbar.tsx | 3 +- src/client/constants/endpoints.ts | 2 +- src/client/context/socket/socket.context.tsx | 3 +- src/server/index.ts | 32 +++----------- .../route/routes/importComics.routes.ts | 42 +++++++++++++++---- 5 files changed, 43 insertions(+), 39 deletions(-) diff --git a/src/client/components/Navbar.tsx b/src/client/components/Navbar.tsx index b1c1db3..65f2cd4 100644 --- a/src/client/components/Navbar.tsx +++ b/src/client/components/Navbar.tsx @@ -2,13 +2,12 @@ import React from "react"; import { Link } from "react-router-dom"; const Navbar: React.FunctionComponent = (props) => { - return (