Skip to content

Commit

Permalink
fix(useLoader): don't dispose of memoized loader (#3231)
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyJasonBennett committed Apr 13, 2024
1 parent fac9424 commit 54f8007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/fiber/src/core/hooks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function loadingFn<L extends LoaderProto<any>>(
),
),
),
).finally(() => (loader as any).dispose?.())
)
}
}

Expand Down

0 comments on commit 54f8007

Please sign in to comment.