Skip to content

Commit

Permalink
return the promise, oops
Browse files Browse the repository at this point in the history
  • Loading branch information
Andarist committed Nov 8, 2024
1 parent 97945e0 commit cb9e227
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,8 @@ import "../src/test-prep";
import "../src/base.css";

if (typeof window !== "undefined") {
// @ts-expect-error
Promise.prototype.finally = function (callback) {
debugger;
this.then(
return this.then(
result => {
callback && callback();
return result;
Expand Down

0 comments on commit cb9e227

Please sign in to comment.