fix(dashboard): remove isPlatform check from verify button disable logic (#2737)

This commit is contained in:
Hassan Ben Jobrane
2024-05-31 09:54:55 +01:00
committed by GitHub
parent 6fb0cc27aa
commit 87a37cfc08
2 changed files with 6 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
---
'@nhost/dashboard': patch
---
fix: remove unnecessary isPlatform check from verify button disable logic on custom domains

View File

@@ -131,7 +131,7 @@ export default function VerifyDomain({
</div>
{isPlatform ? (
<Button
disabled={loading || !hostname || isPlatform}
disabled={loading || !hostname}
onClick={handleVerifyDomain}
className="mt-4 sm:absolute sm:bottom-0 sm:right-0 sm:mt-0"
>