Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
gitKrystan committed Nov 9, 2024
1 parent f37250e commit ce3a2d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ember/src/-private/request.gts
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ export class Request<T, RT> extends Component<RequestSignature<T, RT>> {
);
}

const wasStoreRequest = (request as { [EnableHydration]: boolean })[EnableHydration] === true;
const wasStoreRequest = request[EnableHydration] === true;
assert(
`Cannot supply a different store via context than was used to create the request`,
!request.store || request.store === this.store
Expand Down

0 comments on commit ce3a2d5

Please sign in to comment.