move app.js to components
This commit is contained in:
parent
0d02717911
commit
860505c230
5 changed files with 3 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
import "./App.css";
|
||||
import Messages from "./components/Messages";
|
||||
import TextField from "./components/TextField";
|
||||
import Messages from "./Messages";
|
||||
import TextField from "./TextField";
|
||||
import { useEffect, useState } from "react";
|
||||
import { io } from "socket.io-client";
|
||||
|
|
@ -1,7 +1,6 @@
|
|||
import React from "react";
|
||||
import ReactDOM from "react-dom/client";
|
||||
import "./index.css";
|
||||
import App from "./App";
|
||||
import App from './components/App';
|
||||
|
||||
const root = ReactDOM.createRoot(document.getElementById("root"));
|
||||
root.render(<App />);
|
||||
|
|
Loading…
Reference in a new issue