♻️ refactor

This commit is contained in:
Fred KISSIE
2026-07-29 19:11:16 +01:00
parent 5cbb767e5f
commit bc267b7107
3 changed files with 5 additions and 6 deletions
@@ -18,6 +18,7 @@ import {
useState,
type ReactNode
} from "react";
import { durationToMs } from "@app/lib/durationToMs";
type ResourceAccessCertIndicatorProps = {
orgId: string;
@@ -58,7 +59,7 @@ export function ResourceAccessCertIndicator({
fullDomain,
initialCertValue,
polling: open,
pollingInterval: 5000
pollingInterval: durationToMs(5, "seconds")
});
const { cert, certLoading, certError, refreshing, fetchCert } = certificate;