Linting clean up

This commit is contained in:
Jackson Harper
2023-02-03 13:40:47 +08:00
parent fc20a90534
commit ea0f114d64
2 changed files with 2 additions and 7 deletions

View File

@ -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

View File

@ -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,