import React from 'react';
import ReactDOM from 'react-dom/client';
import { MetaMaskProvider } from '@metamask/sdk-react';
import 'bootswatch/dist/slate/bootstrap.min.css';
import './App.css';
import {
createBrowserRouter,
RouterProvider,
} from 'react-router-dom';
import { WidgetApiImpl } from '@matrix-widget-toolkit/api';
import WebApp from './WebApp';
import Widget from './Widget';
window.widgetApiPromise = WidgetApiImpl.create();
const router = createBrowserRouter([
{
path: '/',
element: ,
},
{
path: 'widget/',
element: ,
},
]);
ReactDOM.createRoot(document.getElementById('root')).render(
,
);