Linting clean up
This commit is contained in:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user