Skip to content

Commit

Permalink
fix: type definition and code expect a promise from isBeta
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusb-comp committed Apr 9, 2022
1 parent 890d7b3 commit b7b9ccb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/wapi/functions/check-beta.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export async function isBeta() {
export function isBeta() {
if (
!window.localStorage.getItem('WASecretBundle') &&
!window.localStorage.getItem('WAToken1') &&
Expand Down

0 comments on commit b7b9ccb

Please sign in to comment.