Implement cancel

This commit is contained in:
Gregory Schier committed 2024-02-02 00:18:37 -08:00
1 parent b526ea506b
commit 4e781b752d
7 files changed
+121 -133

No files matched your search

+10 -1
View File
@@ -193,7 +193,7 @@ export function GrpcConnectionLayout({ style }: Props) {
<IconButton
className="border border-highlight"
size="sm"
title="ofo"
title="to-do"
hotkeyAction="request.send"
onClick={handleConnect}
icon={
@@ -206,6 +206,15 @@ export function GrpcConnectionLayout({ style }: Props) {
: 'sendHorizontal'
}
/>
<IconButton
className="border border-highlight"
size="sm"
title="to-do"
onClick={async () => {
await grpc.cancel.mutateAsync();
}}
icon="trash"
/>
</HStack>
</div>
<GrpcEditor