Update hooks to use undefined for initial state
This commit is contained in:
1 parent
a9851787e8
commit
cfb5c7ae5d
3 files changed
+4
-4
No files matched your search
@@ -10,7 +10,7 @@ const useCertificateFetch = ({
|
||||
certificateDateFormat,
|
||||
uiTimezone,
|
||||
}) => {
|
||||
const [certificateExpiry, setCertificateExpiry] = useState("N/A");
|
||||
const [certificateExpiry, setCertificateExpiry] = useState(undefined);
|
||||
const [certificateIsLoading, setCertificateIsLoading] = useState(false);
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
Reference in new issue
Block a user