fix some bugs

This commit is contained in:
Arthur Tu
2021-01-20 09:42:43 -08:00
committed by yuqiuw
parent 9b136739da
commit 155bedb82f
3 changed files with 3 additions and 2 deletions

View File

@@ -49,7 +49,7 @@ export function parser(raw: Uint8Array) {
}
}
export function isProtoEnabled(url: string): boolean {
export function isProtoEnabled(): boolean {
return window.localStorage.getItem('protoEnabled') === 'true';
}