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 13, 2023
1 parent 1486c88 commit 085162d
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 085162d

Please sign in to comment.