mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-20 02:37:41 -05:00
remove async from method that is not async anymore
This commit is contained in:
@@ -218,7 +218,7 @@ function createWidget(name: string, code: string, klass: string) {
|
||||
});
|
||||
}
|
||||
|
||||
async registerWidget() {
|
||||
registerWidget() {
|
||||
const pyodide = runtime;
|
||||
console.log('new widget registered:', this.name);
|
||||
pyodide.globals.set(this.id, this.proxy);
|
||||
|
||||
Reference in New Issue
Block a user