Skip to content
This repository has been archived by the owner on Jun 8, 2024. It is now read-only.

Commit

Permalink
fix up build
Browse files Browse the repository at this point in the history
  • Loading branch information
KodrAus committed Nov 7, 2023
1 parent 06c0773 commit 5e76c62
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,8 @@ fn base_emit(
tpl: Template,
props: impl Props,
) {
let loc = __private::loc();

ctxt.with_current(|ctxt| {
let evt = Event::new(
ts,
tpl,
props.chain(ctxt).chain((well_known::LOCATION_KEY, loc)),
);
let evt = Event::new(ts, tpl, props.chain(ctxt));

if when.matches(&evt) {
to.emit(&evt);
Expand Down

0 comments on commit 5e76c62

Please sign in to comment.