Skip to content

Commit

Permalink
RSC: Fix RscRouter import order (#11048)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobbe authored Jul 22, 2024
1 parent a985bf4 commit a82319d
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 a82319d

Please sign in to comment.