diff --git a/src/hooks/useSurvey.ts b/src/hooks/useSurvey.ts index c76ce56..6de1d11 100644 --- a/src/hooks/useSurvey.ts +++ b/src/hooks/useSurvey.ts @@ -253,7 +253,6 @@ export function useSurvey( false, true, ) - console.log(resp) const blob = await resp.blob() if (!blob || blob.size === 0) { @@ -264,7 +263,7 @@ export function useSurvey( const url = window.URL.createObjectURL(blob) const a = document.createElement('a') a.href = url - a.download = `${filename}.pdf` + a.download = `${filename}` a.click() window.URL.revokeObjectURL(url)