mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
clean up
This commit is contained in:
parent
4e1e68e9a3
commit
fee65df163
1 changed files with 3 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import { SetStateAction, useMemo, useState } from 'react'
|
||||
import Dropzone, { useDropzone } from 'react-dropzone'
|
||||
import { useMemo, useState } from 'react'
|
||||
import Dropzone from 'react-dropzone'
|
||||
import { Box } from '../../elements/LayoutPrimitives'
|
||||
import { useGetViewerQuery } from '../../../lib/networking/queries/useGetViewerQuery'
|
||||
import { useGetUserPreferences } from '../../../lib/networking/queries/useGetUserPreferences'
|
||||
|
|
@ -54,7 +54,7 @@ export function LibraryList(props: LibraryListProps): JSX.Element {
|
|||
|
||||
return (
|
||||
<Box css={{ overflowY: 'scroll' }}>
|
||||
<Dropzone onDrop={handleDrop} preventDropOnDocument={true} noClick={true}>
|
||||
<Dropzone onDrop={handleDrop} preventDropOnDocument={true} noClick={true} >
|
||||
{({ getRootProps, getInputProps, acceptedFiles, fileRejections }) => (
|
||||
<div {...getRootProps({ className: 'dropzone' })}>
|
||||
<p>Drag n drop files, or click to select files</p>
|
||||
|
|
|
|||
Loading…
Reference in a new issue