Remove some debugging
This commit is contained in:
@ -76,13 +76,15 @@ export function HighlightsLayer(props: HighlightsLayerProps): JSX.Element {
|
||||
const focusedHighlightMousePos = useRef({ pageX: 0, pageY: 0 })
|
||||
|
||||
const [currentHighlightIdx, setCurrentHighlightIdx] = useState(0)
|
||||
const [focusedHighlight, setFocusedHighlight] =
|
||||
useState<Highlight | undefined>(undefined)
|
||||
const [focusedHighlight, setFocusedHighlight] = useState<
|
||||
Highlight | undefined
|
||||
>(undefined)
|
||||
|
||||
const [selectionData, setSelectionData] = useSelection(highlightLocations)
|
||||
|
||||
const [labelsTarget, setLabelsTarget] =
|
||||
useState<Highlight | undefined>(undefined)
|
||||
const [labelsTarget, setLabelsTarget] = useState<Highlight | undefined>(
|
||||
undefined
|
||||
)
|
||||
|
||||
const createHighlightFromSelection = useCallback(
|
||||
async (
|
||||
@ -346,7 +348,6 @@ export function HighlightsLayer(props: HighlightsLayerProps): JSX.Element {
|
||||
highlightModalAction: 'addComment',
|
||||
})
|
||||
} else {
|
||||
console.log('sending page tapped')
|
||||
window?.webkit?.messageHandlers.viewerAction?.postMessage({
|
||||
actionID: 'pageTapped',
|
||||
})
|
||||
|
||||
@ -72,8 +72,6 @@ export function Notebook(props: NotebookProps): JSX.Element {
|
||||
)
|
||||
const [, updateState] = useState({})
|
||||
|
||||
console.log('props.showConfirmDeleteNote', props.showConfirmDeleteNote)
|
||||
|
||||
const annotationsReducer = (
|
||||
state: AnnotationInfo,
|
||||
action: {
|
||||
|
||||
Reference in New Issue
Block a user