Skip to content

Commit

Permalink
fix frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoom-Developer committed Nov 4, 2024
1 parent 246c93b commit 64b479c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/pages/history/ui/history.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function History() {
</div>
}
}
const test = ''

if (user) {
const test = <div className={styles['list-user']}>
<div className={styles['list-element']} key={Math.random().toString(16)}>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/widgets/crop/crop.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export function CropWidget({img, setImg, onComplete}: Props): ReactElement {
onComplete();
}

const onCropComplete = (croppedArea, croppedAreaPixels: Area) => {
const onCropComplete = (_: Area, croppedAreaPixels: Area) => {
setArea(croppedAreaPixels)
}

Expand Down

0 comments on commit 64b479c

Please sign in to comment.