Skip to content

Commit

Permalink
Fix playground diff state (#1791)
Browse files Browse the repository at this point in the history
chore: fix diff state
  • Loading branch information
anubra266 authored Dec 8, 2023
1 parent 6fe7321 commit 175af58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playground/src/hooks/usePlayground.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ export const usePlayground = (props: UsePlayGroundProps) => {
onDone(id) {
history.pushState({ id }, '', id)
setState((prev) => Object.assign({}, prev, { id }))
pristineState.current = state
},
})
pristineState.current = state
}

const onShareDiff = () => {
Expand Down

3 comments on commit 175af58

@vercel
Copy link

@vercel vercel bot commented on 175af58 Dec 8, 2023

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on 175af58 Dec 8, 2023

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:

panda-docs – ./website

panda-docs.vercel.app
panda-docs-chakra-ui.vercel.app
panda-css.com
panda-docs-git-main-chakra-ui.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 175af58 Dec 8, 2023

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:

panda-studio – ./

panda-studio-git-main-chakra-ui.vercel.app
panda-app.vercel.app
panda-studio-chakra-ui.vercel.app

Please sign in to comment.