Skip to content

Commit

Permalink
fix ssr inject
Browse files Browse the repository at this point in the history
  • Loading branch information
JoviDeCroock committed Mar 15, 2023
1 parent 3053430 commit b4814ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/next-urql/src/__tests__/with-urql-client.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ describe('withUrqlClient', () => {
describe('with client options', () => {
beforeEach(() => {
Component = withUrqlClient(
() => ({
ssr => ({
url: 'http://localhost:3000',
exchanges: [dedupExchange, cacheExchange, fetchExchange],
exchanges: [dedupExchange, cacheExchange, ssr, fetchExchange],
}),
{
ssr: true,
Expand Down

0 comments on commit b4814ae

Please sign in to comment.