Skip to content

Commit 1eb37ad

Browse files
authored
WEB-61 Fix unset isPublishing state (#88)
- Fixes unresponsive publish buttons after publish and save
2 parents 7515bdc + 597a590 commit 1eb37ad

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/app/editor/[id]/VersionPluginContainer.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export function VersionPluginContainer() {
2222
}
2323

2424
router.push(`/editor/${documentId}?versionId=${targetVersionId}`);
25+
setIsPublishing(false);
2526
};
2627

2728
const handleLoadVersion = (versionIdToLoad: number) => {

0 commit comments

Comments
 (0)