This commit is contained in:
Alex Holliday committed 2025-02-03 16:22:54 -08:00
1 parent b20c87cabc
commit cc8d4bc98c
2 files changed
+4 -1

No files matched your search

@@ -8,7 +8,6 @@ const useCreateStatusPage = () => {
const [isLoading, setIsLoading] = useState(false);
const [networkError, setNetworkError] = useState(false);
const createStatusPage = async ({ form }) => {
setIsLoading(true);
try {
+4
View File
@@ -890,6 +890,10 @@ class NetworkService {
responseType: "blob",
});
fd.append("logo", imageResult.data);
// Cleanup blob
if (form.logo.src.startsWith("blob:")) {
URL.revokeObjectURL(form.logo.src);
}
}
return this.axiosInstance.post(`/status-page`, fd, {