Lint all the things
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { Button, Space } from "antd";
|
||||
import React, { useState } from "react";
|
||||
import { useState } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { GenerateDocument } from "../../utils/RenderTemplate";
|
||||
import { TemplateList } from "../../utils/TemplateConstants";
|
||||
@@ -26,7 +26,7 @@ export default function BillPrintButton({ billid }) {
|
||||
null,
|
||||
notification
|
||||
);
|
||||
} catch (e) {
|
||||
} catch {
|
||||
console.warn("Warning: Error generating a document.");
|
||||
}
|
||||
setLoading(false);
|
||||
|
||||
Reference in New Issue
Block a user