Skip to content

Commit

Permalink
ref: remov bytm references
Browse files Browse the repository at this point in the history
  • Loading branch information
Sv443 committed Apr 14, 2024
1 parent aa3af85 commit fd14828
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const sessionStorageAllowed =
typeof sessionStorage?.setItem !== "undefined"
&& (() => {
try {
const key = `_bytm_test_${randomId(4)}`;
const key = `_ses_test_${randomId(4)}`;
sessionStorage.setItem(key, "test");
sessionStorage.removeItem(key);
return true;
Expand Down
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,6 @@ export function addStyle(css: string, ref?: string) {
if(!domLoaded)
throw new Error("DOM has not finished loading yet");
const elem = addGlobalStyle(css);
elem.id = `bytm-global-style-${ref ?? randomId(5, 36)}`;
elem.id = `global-style-${ref ?? randomId(5, 36)}`;
return elem;
}

0 comments on commit fd14828

Please sign in to comment.