fix: create more toggle fixes in create issue modal (#3355)

* fix: create more issue bugfixes

* fix: removing all warning
This commit is contained in:
sriram veeraghanta
2024-01-11 21:01:05 +05:30
parent a679b42200
commit 7ff91fdb82
30 changed files with 119 additions and 98 deletions

View File

@@ -98,7 +98,7 @@ export const CreateProjectModal: FC<Props> = observer((props) => {
const currentNetwork = NETWORK_CHOICES.find((n) => n.key === watch("network"));
if (currentWorkspaceRole && isOpen)
if (currentWorkspaceRole <= EUserWorkspaceRoles.MEMBER) return <IsGuestCondition onClose={onClose} />;
if (currentWorkspaceRole < EUserWorkspaceRoles.MEMBER) return <IsGuestCondition onClose={onClose} />;
const handleClose = () => {
onClose();