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({
32
32
33
33
setup({ el, App, props }) {
34
34
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') -%>
36
36
mount(App, { target: el, props })
37
37
} else {
38
38
console.error(
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ createInertiaApp({
31
31
32
32
setup({ el, App, props }) {
33
33
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') -%>
35
35
new App({ target: el, props })
36
36
} else {
37
37
console.error(
You can’t perform that action at this time.
0 commit comments