Skip to content

Commit

Permalink
add module type to allow vite compilation to run
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianscatularo committed Jan 11, 2024
1 parent 215d907 commit da1887e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/connect/src/components/ConnectLoader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export default function ConnectLoader({ config }: WormholeLoaderProps) {
useEffect(() => {
const script = document.createElement("script");
script.src = `assets/wormhole-connect/main.js`;
script.type = "module";
if (VITE_APP_JS_WC_INTEGRITY_SHA_384) {
script.integrity = `sha384-${VITE_APP_JS_WC_INTEGRITY_SHA_384}`;
}
Expand Down

0 comments on commit da1887e

Please sign in to comment.