Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
v2.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
birkir committed Mar 14, 2019
1 parent 2d402e2 commit 3b00ed1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "gatsby-source-prismic-graphql",
"version": "2.3.1",
"version": "2.3.3",
"description": "Source data from Prismic with GraphQL",
"main": "index.js",
"types": "./types/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/withPreview.tsx
Expand Up @@ -85,7 +85,7 @@ export function withPreview<P extends object>(
cookies.has(Prismic.experimentCookie) ||
cookies.has(Prismic.previewCookie)
) {
if (registry && registry.preview) {
if (registry && registry.previews) {
this.load();
}
}
Expand Down

0 comments on commit 3b00ed1

Please sign in to comment.