Tiny fixes

This commit is contained in:
Gregory Schier
2024-02-02 18:41:00 -08:00
parent 6884e9428b
commit d148a8384d
4 changed files with 20 additions and 20 deletions

View File

@@ -2,7 +2,6 @@ import { useMutation, useQuery } from '@tanstack/react-query';
import { invoke } from '@tauri-apps/api';
import type { UnlistenFn } from '@tauri-apps/api/event';
import { emit, listen } from '@tauri-apps/api/event';
import { type } from '@tauri-apps/api/os';
import { useEffect, useRef, useState } from 'react';
import { tryFormatJson } from '../lib/formatters';
import { useKeyValue } from './useKeyValue';
@@ -147,7 +146,7 @@ export function useGrpc(url: string | null, requestId: string | null) {
unary,
serverStreaming,
bidiStreaming,
schema: reflect.data,
services: reflect.data,
cancel,
messages,
isStreaming: activeConnectionId !== null,