Skip to content

Commit

Permalink
Ensure plugin scripts are loaded in correct order (#4388)
Browse files Browse the repository at this point in the history
  • Loading branch information
WithoutPants authored Dec 22, 2023
1 parent d258976 commit e1782d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/v2.5/src/hooks/useScript.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const useScript = (urls: string | string[], condition?: boolean) => {
const script = document.createElement("script");

script.src = url;
script.async = false;
script.defer = true;
return script;
});
Expand Down

0 comments on commit e1782d0

Please sign in to comment.