aboutsummaryrefslogtreecommitdiff
path: root/jb-ui/src/main.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'jb-ui/src/main.tsx')
-rw-r--r--jb-ui/src/main.tsx24
1 files changed, 12 insertions, 12 deletions
diff --git a/jb-ui/src/main.tsx b/jb-ui/src/main.tsx
index 538bea2..6e02727 100644
--- a/jb-ui/src/main.tsx
+++ b/jb-ui/src/main.tsx
@@ -1,19 +1,19 @@
-import React from 'react';
-import ReactDOM from 'react-dom/client';
-import { Provider } from 'react-redux'
-import { store } from '@/store'
+import React from "react";
+import ReactDOM from "react-dom/client";
+import { Provider } from "react-redux";
+import { store } from "@/store";
import JBApp from "@/JBApp";
-const rootElement = document.getElementById('root');
+const rootElement = document.getElementById("root");
if (!rootElement) {
- throw new Error('Failed to find the root element');
+ throw new Error("Failed to find the root element");
}
const root = ReactDOM.createRoot(rootElement);
root.render(
- <React.StrictMode>
- <Provider store={store}>
- <JBApp />
- </Provider>
- </React.StrictMode >
-); \ No newline at end of file
+ <React.StrictMode>
+ <Provider store={store}>
+ <JBApp />
+ </Provider>
+ </React.StrictMode>,
+);