mirror of
https://github.com/stan-smith/FossFLOW.git
synced 2025-12-26 07:59:10 -05:00
feat: makes App component default export
This commit is contained in:
@@ -13,7 +13,7 @@ interface Props {
|
||||
initialScene: SceneI;
|
||||
}
|
||||
|
||||
export const App = ({ initialScene }: Props) => {
|
||||
const App = ({ initialScene }: Props) => {
|
||||
return (
|
||||
<ThemeProvider theme={theme}>
|
||||
<ModeManagerProvider>
|
||||
@@ -27,3 +27,5 @@ export const App = ({ initialScene }: Props) => {
|
||||
</ThemeProvider>
|
||||
);
|
||||
};
|
||||
|
||||
export default App;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React from "react";
|
||||
import ReactDOM from "react-dom/client";
|
||||
import { App } from "./App";
|
||||
import App from "./App";
|
||||
import { mockScene } from "./mockData";
|
||||
|
||||
const root = ReactDOM.createRoot(
|
||||
|
||||
Reference in New Issue
Block a user