Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit 8274f8d

Browse files
Hubert KosterHubert Koster
authored andcommitted
chore: refactoring code
1 parent 01e88f3 commit 8274f8d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/hooks/useBrandingState/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@ const useBrandingState = () => {
66

77
const isOfficialHost = () => {
88
const host = window.location.host;
9-
let is_official_host = false;
9+
let is_official_host = true;
1010
for (const domain of domains) {
1111
if (host.includes(domain)) {
1212
is_official_host = host.includes(domain);
1313
break;
1414
}
15+
is_official_host = false;
1516
}
1617
return is_official_host;
1718
};

0 commit comments

Comments
 (0)