Skip to content

Commit

Permalink
🐛 Fix incorrect ffi path.
Browse files Browse the repository at this point in the history
  • Loading branch information
hayleigh-dot-dev committed Aug 21, 2024
1 parent e57fc71 commit 60f59a6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/lustre/internals/patch.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -437,5 +437,5 @@ fn is_empty_attribute_diff(diff: AttributeDiff(msg)) -> Bool {
// FFI -------------------------------------------------------------------------

@external(erlang, "lustre_escape_ffi", "coerce")
@external(javascript, "../../../lustre-escape.ffi.mjs", "coerce")
@external(javascript, "../../lustre-escape.ffi.mjs", "coerce")
fn unsafe_coerce(value: a) -> b
2 changes: 1 addition & 1 deletion src/lustre/internals/runtime.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -239,5 +239,5 @@ fn run_effects(effects: Effect(msg), self: Subject(Action(msg, runtime))) -> Nil
// FFI -------------------------------------------------------------------------

@external(erlang, "lustre_escape_ffi", "coerce")
@external(javascript, "../../../lustre-escape.ffi.mjs", "coerce")
@external(javascript, "../../lustre-escape.ffi.mjs", "coerce")
fn unsafe_coerce(value: a) -> b
2 changes: 1 addition & 1 deletion src/lustre/internals/vdom.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -401,5 +401,5 @@ pub fn attribute_to_event_handler(
// FFI -------------------------------------------------------------------------

@external(erlang, "lustre_escape_ffi", "coerce")
@external(javascript, "../../../lustre-escape.ffi.mjs", "coerce")
@external(javascript, "../../lustre-escape.ffi.mjs", "coerce")
fn unsafe_coerce(value: a) -> b

0 comments on commit 60f59a6

Please sign in to comment.