Skip to content
Snippets Groups Projects
Unverified Commit e3b04251 authored by Avanish Singh's avatar Avanish Singh Committed by GitHub
Browse files

Update index.js

parent 68f4fd50
No related branches found
No related tags found
No related merge requests found
import * as ReactDOM from 'react-dom/client';
import Chatbot from './Chatbot';
import "./index.css"
import React from "react";
import ReactDOM from "react-dom";
import "./index.css";
import App from "./App";
import * as serviceWorker from "./serviceWorker";
const container = document.getElementById('chatbot');
const cb = ReactDOM.createRoot(container);
cb.render(<Chatbot />)
\ No newline at end of file
ReactDOM.render(<App />, document.getElementById('root'));
// To enhance your app's offline functionality and improve loading speed,
// consider changing unregister() to register() below.
// However, be aware that this choice has some potential drawbacks.
// For a deeper understanding of service workers,
// explore further: https://bit.ly/CRA-PWA
serviceWorker.unregister();
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment