Skip to content

Commit 6d152a6

Browse files
committed
fix(solid): stub do not like template string
1 parent d9fa971 commit 6d152a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stubs/solid/home.tsx.stub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import type { JSXElement } from 'solid-js'
66

77
// You can extract the Meta component to a separate file
88
export function Meta(props: { title?: string; children?: JSXElement }) {
9-
const title = props.title ? `${props.title} - AdonisJS` : 'AdonisJS'
9+
const title = props.title ? props.title + ' - AdonisJS' : 'AdonisJS'
1010

1111
return (
1212
<MetaProvider>

0 commit comments

Comments
 (0)