fix hydration error from html mismatch (#16876)

This commit is contained in:
Benny Joo authored and GitHub committed 2024-09-30 06:04:27 +05:30
1 parent 5c05a422a8
commit cd09a56491
2 files changed
+14 -9

No files matched your search

+1 -3
View File
@@ -281,9 +281,7 @@ PageProps & WithNonceProps<{}>) {
disabled={formState.isSubmitting}
className="w-full justify-center">
<span>{twoFactorRequired ? t("submit") : t("sign_in")}</span>
{lastUsed === "credentials" && (
<span className="absolute right-3 text-xs text-gray-600">{t("last_used")}</span>
)}
{lastUsed === "credentials" && <LastUsed className="text-gray-600" />}
</Button>
</div>
</form>