Skip to content

Commit

Permalink
Upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
darashi committed Jan 9, 2024
1 parent 957a996 commit 033fa0b
Show file tree
Hide file tree
Showing 4 changed files with 7,297 additions and 6,155 deletions.
5 changes: 3 additions & 2 deletions client/admin.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import ReactDOM from "react-dom";
import { createRoot } from "react-dom/client";
import { io } from "socket.io-client";
import moment from "moment";
import queryString from "query-string";
Expand Down Expand Up @@ -173,4 +173,5 @@ class Navbar extends React.Component {
}
}

ReactDOM.render(<MainComponent />, document.getElementById("content"));
const root = createRoot(document.getElementById("content"));
root.render(<MainComponent />);
5 changes: 3 additions & 2 deletions client/app.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { useEffect, useState } from "react";
import ReactDOM from "react-dom";
import { createRoot } from "react-dom/client";
import "bootstrap/scss/bootstrap.scss";
import "./app.scss";
import "font-awesome/css/font-awesome.css";
Expand Down Expand Up @@ -113,4 +113,5 @@ const App = () => {
);
};

ReactDOM.render(<App />, document.getElementById("content"));
const root = createRoot(document.getElementById("content"));
root.render(<App />);
Loading

0 comments on commit 033fa0b

Please sign in to comment.