widget wip
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 31s
Details
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 31s
Details
This commit is contained in:
parent
f4220cc4f9
commit
9935c70cec
|
@ -252,7 +252,16 @@ function Widget() {
|
|||
|
||||
useEffect(() => {
|
||||
console.log('window.location', window.location);
|
||||
|
||||
window.addEventListener(
|
||||
'message',
|
||||
(event) => {
|
||||
console.log('window message', event);
|
||||
},
|
||||
);
|
||||
|
||||
window.widgetApiPromise.then((api) => {
|
||||
console.log('widgetApi promise resolved', api);
|
||||
widgetApi.current = api;
|
||||
});
|
||||
}, []);
|
||||
|
|
Loading…
Reference in New Issue