Skip to content

Commit

Permalink
Merge branch 'main' into 3467-code-bug
Browse files Browse the repository at this point in the history
  • Loading branch information
freddyaboulton authored Mar 24, 2023
2 parents 9372c27 + 4c00103 commit f7d1bb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/packages/app/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ function create_custom_element() {
});
}
}

customElements.define("gradio-app", GradioApp);
if (!customElements.get("gradio-app"))
customElements.define("gradio-app", GradioApp);
}

create_custom_element();

0 comments on commit f7d1bb8

Please sign in to comment.