From b65c18bb690f004dd6e3b72d98add9bc3ad84656 Mon Sep 17 00:00:00 2001 From: Brian Bosh Date: Sat, 7 Sep 2024 17:55:52 -0600 Subject: [PATCH] chore: Remove unused code and console.log statement in Popup component --- src/components/Popup.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/Popup.tsx b/src/components/Popup.tsx index fed07b6..91a4d11 100644 --- a/src/components/Popup.tsx +++ b/src/components/Popup.tsx @@ -1,7 +1,7 @@ import React, { useState, useEffect, useRef, useCallback, useMemo } from 'react'; import { CmdShiftPAction } from '../types/command-shift-p-action'; import { Command } from "cmdk"; -import { getActions, lunrActionsIndex, lunrIndex } from '../actions'; +import { getActions, lunrActionsIndex } from '../actions'; import { ActionRow } from './ActionRow'; const Popup: React.FC = () => { @@ -23,7 +23,6 @@ const Popup: React.FC = () => { const actions = useMemo(() => { const matches = index.search(search); const results = matches.map(({ ref }) => allActions.find(action => action.id === ref)!); - console.log({ matches, results }) return results; }, [index, search]);