File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
lib/generators/inertia/install/templates Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ createInertiaApp({
3232
3333 setup({ el, App, props }) {
3434 if (el) {
35- <%= " // @ts-expect-error 1.3.0 beta contains types mismatch\n" if inertia_resolved_version == Gem::Version.new('1.3.0-beta.2 ') -%>
35+ <%= " // @ts-expect-error 1.3.0 contains types mismatch\n" if inertia_resolved_version.release == Gem::Version.new('1.3.0') -%>
3636 mount(App, { target: el, props })
3737 } else {
3838 console.error(
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ createInertiaApp({
3131
3232 setup({ el, App, props }) {
3333 if (el) {
34- <%= "// @ts-expect-error 1.3.0 beta contains types mismatch\n" if inertia_resolved_version == Gem::Version.new('1.3.0-beta.2 ') -%>
34+ <%= "// @ts-expect-error 1.3.0 beta contains types mismatch\n" if inertia_resolved_version.release == Gem::Version.new('1.3.0') -%>
3535 new App({ target: el, props })
3636 } else {
3737 console.error(
You can’t perform that action at this time.
0 commit comments