mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Linting clean up
This commit is contained in:
parent
fc20a90534
commit
ea0f114d64
2 changed files with 2 additions and 7 deletions
|
|
@ -5,11 +5,7 @@ import {
|
|||
ModalTitleBar,
|
||||
ModalButtonBar,
|
||||
} from './../../elements/ModalPrimitives'
|
||||
import { Box, HStack, SpanBox, VStack } from '../../elements/LayoutPrimitives'
|
||||
import { Button } from '../../elements/Button'
|
||||
import { StyledText } from '../../elements/StyledText'
|
||||
import { CommentIcon } from '../../elements/images/CommentIcon'
|
||||
import { theme } from '../../tokens/stitches.config'
|
||||
import { VStack } from '../../elements/LayoutPrimitives'
|
||||
import { Highlight } from '../../../lib/networking/fragments/highlightFragment'
|
||||
import { useCallback, useState } from 'react'
|
||||
import { StyledTextArea } from '../../elements/StyledTextArea'
|
||||
|
|
@ -17,7 +13,6 @@ import { updateHighlightMutation } from '../../../lib/networking/mutations/updat
|
|||
import { readableUpdatedAtMessage } from './../../../lib/dateFormatting'
|
||||
import { useConfirmListener } from '../../../lib/keyboardShortcuts/useKeyboardShortcuts'
|
||||
import { showErrorToast } from '../../../lib/toastHelpers'
|
||||
import { CrossIcon } from '../../elements/images/CrossIcon'
|
||||
|
||||
type HighlightNoteModalProps = {
|
||||
author: string
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ export function useSelection(
|
|||
|
||||
const handleFinishTouch = useCallback(
|
||||
async (mouseEvent) => {
|
||||
var wasDragEvent = false
|
||||
let wasDragEvent = false
|
||||
const tapAttributes = {
|
||||
tapX: mouseEvent.screenX,
|
||||
tapY: mouseEvent.screenY,
|
||||
|
|
|
|||
Loading…
Reference in a new issue