Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/brtheo/bolt
Browse files Browse the repository at this point in the history
  • Loading branch information
brtheo committed Nov 6, 2024
2 parents b8cb0db + da2e61a commit a862463
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions force-app/main/default/lwc/bolt/useExternalStyles.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ import { setExternalStyles } from "./utils";
*/
export function useExternalStyles(genericConstructor, styles) {
return class extends genericConstructor {
suspendedCallback() {
if('__SUSPENSE_MXN_ALL_SETTLED__' in this ? this.__SUSPENSE_MXN_ALL_SETTLED__ : true)
__SET_EXTERNAL_STYLES__() {
setExternalStyles.call(this, styles);
}
}
}
}

0 comments on commit a862463

Please sign in to comment.