Skip to content

Commit

Permalink
minor refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Jun 17, 2023
1 parent 57a3fee commit 002c90d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 4 additions & 1 deletion vite-plugin-ssr/client/executeOnRenderClientHook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ export { executeOnRenderClientHook }
import { assert, assertUsage, executeHook } from './utils'
import { getHook, type Hook } from '../shared/getHook'
import type { PageFile, PageContextExports } from '../shared/getPageFiles'
import { type PageContextForUserConsumptionClientSide, preparePageContextForUserConsumptionClientSide } from './preparePageContextForUserConsumptionClientSidet'
import {
type PageContextForUserConsumptionClientSide,
preparePageContextForUserConsumptionClientSide
} from './preparePageContextForUserConsumptionClientSide'
import type { PageConfig } from '../shared/page-configs/PageConfig'
import { getPageConfig } from '../shared/page-configs/utils'

Expand Down
4 changes: 1 addition & 3 deletions vite-plugin-ssr/client/router/getPageContext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ import type { PageContextUrls } from '../../shared/addComputedUrlProps'
import { PageContextForRoute, route } from '../../shared/route'
import { getErrorPageId } from '../../shared/error-page'
import { getHook } from '../../shared/getHook'
import {
preparePageContextForUserConsumptionClientSide
} from '../preparePageContextForUserConsumptionClientSidet'
import { preparePageContextForUserConsumptionClientSide } from '../preparePageContextForUserConsumptionClientSide'
import { loadPageFilesClientSide } from '../loadPageFilesClientSide'
import { removeBuiltInOverrides } from './getPageContext/removeBuiltInOverrides'
import { getPageContextRequestUrl } from '../../shared/getPageContextRequestUrl'
Expand Down

0 comments on commit 002c90d

Please sign in to comment.