Skip to content

Commit

Permalink
Fixing bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Levironexe committed Nov 20, 2024
1 parent 4c708a3 commit 945c9d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/button/upload-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const UploadForm = ({style, title}: UploadFormProps): JSX.Element => {
await handleFileChange(syntheticEvent);
}
};
const { getRootProps, getInputProps, isDragActive, fileRejections } = useDropzone({
const { getRootProps, getInputProps, isDragActive } = useDropzone({
onDrop,
onDropRejected: (fileRejections) => {
if (fileRejections.some(rejection => rejection.errors.some(error => error.code === 'too-many-files'))) {
Expand Down
3 changes: 1 addition & 2 deletions components/ui/3d-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,7 @@ export const CardItem = ({
rotateX?: number | string;
rotateY?: number | string;
rotateZ?: number | string;
[key: string]: any;
}) => {
[key: string]: React.ReactNode | React.ElementType | string | number | undefined;}) => {
const ref = useRef<HTMLDivElement>(null);
const [isMouseEntered] = useMouseEnter();

Expand Down

0 comments on commit 945c9d7

Please sign in to comment.