Skip to content

Commit

Permalink
Fix some eslint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Matushl committed Nov 13, 2023
1 parent 86665a0 commit f705449
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/components/Problems/Problems.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import {useMutation, useQuery, useQueryClient} from '@tanstack/react-query'
import axios from 'axios'
import {DateTime} from 'luxon'
import {useRouter} from 'next/router'
import {FC, useEffect, useState} from 'react'

Expand Down
2 changes: 1 addition & 1 deletion src/components/Problems/UploadProblemForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const UploadProblemForm: FC<{
})

const [files, setFiles] = useState<File | undefined>(undefined)
const {acceptedFiles, fileRejections, getRootProps, getInputProps} = useDropzone({
const {getRootProps, getInputProps} = useDropzone({
multiple: false,
accept: {
'application/pdf': ['.pdf'],
Expand Down

0 comments on commit f705449

Please sign in to comment.