Skip to content

Commit 215ad81

Browse files
author
Roman.Sergeenko
committed
#RI-2088 - remove unused function
1 parent 939319e commit 215ad81

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

redisinsight/ui/src/components/query-card/QueryCardCliPlugin/QueryCardCliPlugin.tsx

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -63,21 +63,6 @@ const QueryCardCliPlugin = (props: Props) => {
6363
})
6464
}
6565

66-
const sendRedisCommand = (command: string, requestId: string) => {
67-
dispatch(
68-
sendPluginCommandAction({
69-
command,
70-
onSuccessAction: (response) => {
71-
sendMessageToPlugin({
72-
event: 'executeRedisCommand',
73-
requestId,
74-
data: response
75-
})
76-
}
77-
})
78-
)
79-
}
80-
8166
useEffect(() => {
8267
if (currentView === null) return
8368
pluginApi.onEvent(generatedIframeNameRef.current, PluginEvents.heightChanged, (height: string) => {

0 commit comments

Comments
 (0)