Leverage React Query mutation's isPending to disable the Publish button, header trigger, and keyboard shortcut while a publish is in progress, preventing duplicate submissions even when the menu is closed and reopened.
Leverage React Query mutation's isPending to disable the Publish button, header trigger, and keyboard shortcut while a publish is in progress, preventing duplicate submissions even when the menu is closed and reopened.