Skip to content

Commit

Permalink
perf: remove some console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
Kilerd committed May 12, 2024
1 parent 764c774 commit 8711a17
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ export default function AccountDocumentLine(props: Props) {
const { classes } = useStyles();

const extension = (props.extension ?? '').toLowerCase();
console.log(props, extension);
const canPreview = EXTENSIONS_SUPPORT_PREVIEW.includes(extension);
const openPreviewModal = () => {
if (canPreview) {
Expand Down
1 change: 0 additions & 1 deletion frontend/src/components/modals/TransactionEditModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ export const TransactionEditModal = ({
data={innerProps.data}
onChange={(data, isValid) => {
setData(data);
console.log(isValid);
setIsValid(isValid);
}}
></TransactionEditForm>
Expand Down
1 change: 0 additions & 1 deletion frontend/src/pages/Commodities.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ export default function Commodities() {
if (status === LoadingState.Loading || status === LoadingState.NotReady) return <>loading</>;

const groupedCommodities = groupBy(commodities, (it) => it.group ?? FRONTEND_DEFAULT_GROUP);
console.log(groupedCommodities);

return (
<Container fluid>
Expand Down
1 change: 0 additions & 1 deletion frontend/src/pages/Documents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ export default function Documents() {
(it) => it[0].datetime,
),
);
console.log(groupedDocuments);
return (
<Container fluid>
<Group position="apart">
Expand Down

0 comments on commit 8711a17

Please sign in to comment.