Skip to content

Commit

Permalink
reproduce error when using clientOnly() with .client.js (vikejs/vike#…
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Sep 8, 2024
1 parent 68b6dc0 commit d9dc6a1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/full/pages/client-only/+Page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import React from 'react'
import { Counter } from '../../components/Counter'
import { clientOnly } from 'vike-react/clientOnly'

const ClientOnlyComponent = clientOnly(() => import('../../components/ClientOnlyComponent'))
const ClientOnlyComponent = clientOnly(() => import('../../components/ClientOnlyComponent.client'))

function Page() {
return (
Expand Down

0 comments on commit d9dc6a1

Please sign in to comment.