Skip to content

Commit

Permalink
RSC: Fix RscRouter import order
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobbe committed Jul 22, 2024
1 parent bcfecce commit cbe71e5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions __fixtures__/test-project-rsa/web/src/Routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@
// 'src/pages/Admin/BooksPage/BooksPage.js' -> AdminBooksPage

import { Route } from '@redwoodjs/router/Route'
import { Set } from '@redwoodjs/router/Set'

import { Router } from '@redwoodjs/router/RscRouter'
import { Set } from '@redwoodjs/router/Set'

import NavigationLayout from './layouts/NavigationLayout/NavigationLayout'
import NotFoundPage from './pages/NotFoundPage/NotFoundPage'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
// 'src/pages/Admin/BooksPage/BooksPage.js' -> AdminBooksPage

import { Route } from '@redwoodjs/router/Route'
import { Set, PrivateSet } from '@redwoodjs/router/Set'
import { Router } from '@redwoodjs/router/RscRouter'
import { Set, PrivateSet } from '@redwoodjs/router/Set'

import { useAuth } from './auth'
import AuthLayout from './layouts/AuthLayout/AuthLayout'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@
// 'src/pages/Admin/BooksPage/BooksPage.js' -> AdminBooksPage

import { Route } from '@redwoodjs/router/Route'
import { Set } from '@redwoodjs/router/Set'

import { Router } from '@redwoodjs/router/RscRouter'
import { Set } from '@redwoodjs/router/Set'

import NavigationLayout from 'src/layouts/NavigationLayout'
import NotFoundPage from 'src/pages/NotFoundPage'
Expand Down

0 comments on commit cbe71e5

Please sign in to comment.