...continued

This commit is contained in:
2022-07-14 14:56:38 -07:00
parent e8f6a184e9
commit c954b73da4
2 changed files with 2 additions and 3 deletions
+2 -1
View File
@@ -426,7 +426,7 @@ export function ICalButtons(props) {
const { token, clazz } = props;
const [loading, setLoading] = useState(false);
const [success, setSuccess] = useState(false);
const [setError] = useState(false);
const [error, setError] = useState(false);
const handleDownload = (e) => {
e.preventDefault();
@@ -505,6 +505,7 @@ export function ICalButtons(props) {
/>
</Button.Group>
}
{error && <p>Error.</p>}
</>
);
};