Skip to content

Commit

Permalink
Lint fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Akintayo A. Olusegun <[email protected]>
  • Loading branch information
segun committed Nov 23, 2022
1 parent 95d9bff commit 763aab7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/phishing-controller/src/PhishingController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export class PhishingController extends BaseController<
};

this.initialize();
this.detector = new PhishingDetector(this.state.phishing);
this.detector = new PhishingDetector(this.state.phishing);
}

/**
Expand Down Expand Up @@ -222,7 +222,7 @@ export class PhishingController extends BaseController<
this.updatePhishingLists();
}
}

/**
* Update the phishing configuration.
*
Expand All @@ -247,8 +247,8 @@ export class PhishingController extends BaseController<
// Set `lastFetched` even for failed requests to prevent server from being overwhelmed with
// traffic after a network disruption.
this.update({
lastFetched: Date.now()
})
lastFetched: Date.now(),
});
}

// Correctly shaping MetaMask config.
Expand Down

0 comments on commit 763aab7

Please sign in to comment.