Remove unused function openCustomPromptLightbox in src/App.tsx
This commit is contained in:
@@ -917,14 +917,6 @@ export default function App() {
|
|||||||
};
|
};
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
const openCustomPromptLightbox = useCallback(() => {
|
|
||||||
setCustomPromptText("");
|
|
||||||
setCustomPromptState({
|
|
||||||
scope: "document",
|
|
||||||
selection: null
|
|
||||||
});
|
|
||||||
}, []);
|
|
||||||
|
|
||||||
const dispatchAiAction = useCallback(
|
const dispatchAiAction = useCallback(
|
||||||
(template: AiPromptTemplate | null, isCustomPrompt: boolean) => {
|
(template: AiPromptTemplate | null, isCustomPrompt: boolean) => {
|
||||||
const selection = getCurrentAiSelection();
|
const selection = getCurrentAiSelection();
|
||||||
|
|||||||
Reference in New Issue
Block a user