Skip to content

Commit

Permalink
Fix inertia 1.3.0 types mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
skryukov committed Dec 23, 2024
1 parent d5c7d90 commit 8a07980
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ createInertiaApp({

setup({ el, App, props }) {
if (el) {
<%= " // @ts-expect-error 1.3.0 beta contains types mismatch\n" if inertia_resolved_version == Gem::Version.new('1.3.0-beta.2') -%>
<%= " // @ts-expect-error 1.3.0 contains types mismatch\n" if inertia_resolved_version == Gem::Version.new('1.3.0') -%>
mount(App, { target: el, props })
} else {
console.error(
Expand Down

0 comments on commit 8a07980

Please sign in to comment.