simplify...
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 26s Details

This commit is contained in:
Ladd Hoffman 2024-04-25 15:05:19 -05:00
parent 8bb9f6b41e
commit 466be6dacd
2 changed files with 6 additions and 6 deletions

View File

@ -253,10 +253,10 @@ function Widget() {
useEffect(() => {
console.log('window.location', window.location);
window.widgetApiPromise.then((api) => {
console.log('widgetApi promise resolved', api);
widgetApi.current = api;
});
// window.widgetApiPromise.then((api) => {
// console.log('widgetApi promise resolved', api);
// widgetApi.current = api;
// });
}, []);
/* -------------------------------------------------------------------------------- */

View File

@ -7,12 +7,12 @@ import {
createBrowserRouter,
RouterProvider,
} from 'react-router-dom';
import { WidgetApiImpl } from '@matrix-widget-toolkit/api';
// import { WidgetApiImpl } from '@matrix-widget-toolkit/api';
import WebApp from './WebApp';
import Widget from './Widget';
window.widgetApiPromise = WidgetApiImpl.create({});
// window.widgetApiPromise = WidgetApiImpl.create({});
const router = createBrowserRouter([
{