Skip to content

Commit

Permalink
Tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
NigelBreslaw authored and gitbutler-client committed Feb 15, 2024
1 parent 053ca81 commit 0f3dceb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions native_gg/src/authentication/AuthService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,13 @@ class AuthService {
const p1 = performance.now();

this.init()
// .then((result) => {})
.catch((e) => {
console.info("No valid user and auth found");
})
.finally(() => {
this.setInitComplete();
const p2 = performance.now();
console.log("took:", (p2 - p1).toFixed(4), "ms");
console.log("init() took:", (p2 - p1).toFixed(4), "ms");
});
}

Expand Down
1 change: 0 additions & 1 deletion native_gg/src/constants/storage.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// I want to export a name space 'storage' that has several constants such as 'current_ID' and 'auth_token' that are used in the native_gg/src/authentication/AuthService.ts file. I will use the 'export' keyword to export the name space 'storage' and then use the 'export' keyword to export the constants 'current_ID' and 'auth_token' from the name space 'storage'.
export const Store = {
_refresh_token: "_refresh_token",
_bungie_user: "_bungie_user",
Expand Down

0 comments on commit 0f3dceb

Please sign in to comment.