Skip to content

Commit

Permalink
fix(form-builder): don't fallback to raw value in preview subscriber
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoerge committed Dec 17, 2021
1 parent 99e82df commit 985a5ee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default class PreviewSubscriber extends React.Component<Props> {
{({result, error, isLoading}) =>
children({
...props,
snapshot: result.snapshot || value,
snapshot: result.snapshot,
isLoading,
isLive: true,
error,
Expand Down

3 comments on commit 985a5ee

@vercel
Copy link

@vercel vercel bot commented on 985a5ee Dec 17, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

studio-workshop – ./dev/workshop

studio-workshop.sanity.build
studio-workshop-git-next.sanity.build

@vercel
Copy link

@vercel vercel bot commented on 985a5ee Dec 17, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

test-studio – ./

test-studio-git-next.sanity.build
test-studio.sanity.build

@vercel
Copy link

@vercel vercel bot commented on 985a5ee Dec 17, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

perf-studio – ./

perf-studio.sanity.build
perf-studio-git-next.sanity.build

Please sign in to comment.