Closed Quernest closed 10 months ago
Perhaps the best answer is to:
This would
const modal = useModal(); if (modal === FallbackModal) { // disable } else { const { showModal } = modal; // showmaol }
Originally posted by @michaeltford in https://github.com/Quernest/mui-modal-provider/issues/84#issuecomment-1823582891
Perhaps the best answer is to:
This would
Originally posted by @michaeltford in https://github.com/Quernest/mui-modal-provider/issues/84#issuecomment-1823582891