feat: code review notes

This commit is contained in:
Ahmed Bouhuolia
2024-02-21 17:17:34 +02:00
parent d16ec7cda9
commit 1752c32eec
30 changed files with 43 additions and 42 deletions

View File

@@ -16,6 +16,7 @@ export const useRequestPdf = (httpProps) => {
headers: { accept: 'application/pdf' },
responseType: 'blob',
...httpProps,
url: `/api/${httpProps?.url}`,
})
.then((response) => {
// Create a Blob from the PDF Stream.