Skip to content

Commit

Permalink
fix(router-generator): do not import react in scaffolded route (#2884)
Browse files Browse the repository at this point in the history
  • Loading branch information
schiller-manuel authored Nov 28, 2024
1 parent 8a228b4 commit ef6f4fe
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/router-generator/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { virtualRootRouteSchema } from './filesystem/virtual/config'

const defaultTemplate = {
routeTemplate: [
'import * as React from "react";\n',
'%%tsrImports%%',
'\n\n',
'%%tsrExportStart%%{\n component: RouteComponent\n }%%tsrExportEnd%%\n\n',
Expand Down

0 comments on commit ef6f4fe

Please sign in to comment.