11 lines
205 B
TypeScript
11 lines
205 B
TypeScript
import App from './App';
|
|
import render from './Root';
|
|
|
|
Promise.all([render, App])
|
|
.then(([render, App]) => {
|
|
render(App);
|
|
})
|
|
.catch((error) => {
|
|
console.error('Error loading the app:', error);
|
|
});
|