main
Last change
on this file was b67dfd3, checked in by Aleksandar Panovski <apano77@…>, 12 days ago |
Normalization needed to continue, till here done
|
-
Property mode
set to
100644
|
File size:
524 bytes
|
Rev | Line | |
---|
[d24f17c] | 1 | import React from 'react';
|
---|
| 2 | import ReactDOM from 'react-dom/client';
|
---|
| 3 | import './index.css';
|
---|
| 4 | import App from './App';
|
---|
[cfc16a3] | 5 | import { CuisineProvider } from './components/CuisineContext';
|
---|
| 6 | import {RestaurantProvider} from "./components/RestaurantContext";
|
---|
[d24f17c] | 7 |
|
---|
| 8 | const root = ReactDOM.createRoot(document.getElementById('root'));
|
---|
| 9 | root.render(
|
---|
[cfc16a3] | 10 | <React.StrictMode>
|
---|
| 11 | <CuisineProvider>
|
---|
| 12 | <RestaurantProvider>
|
---|
[c63036a] | 13 | <App />
|
---|
[cfc16a3] | 14 | </RestaurantProvider>
|
---|
| 15 | </CuisineProvider>
|
---|
| 16 | </React.StrictMode>
|
---|
| 17 | );
|
---|
Note:
See
TracBrowser
for help on using the repository browser.