chore(auto): task completed - unknown
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
// ─── Audio transmit hook — captures mic, encodes to PCM, sends via WebSocket ──
|
||||
import { useCallback, useRef, useState } from "react";
|
||||
import { getAPIURL } from "../api/client.js";
|
||||
import { createChildLogger } from "../logger.js";
|
||||
import { createLogger } from "../lib/logger";
|
||||
|
||||
const SAMPLE_RATE = 24000;
|
||||
const logger = createChildLogger("useAudioTransmit");
|
||||
const logger = createLogger("useAudioTransmit");
|
||||
|
||||
async function sendTransmitCommand(command: string): Promise<void> {
|
||||
// Send via HTTP API (kept as exported function for backward compatibility)
|
||||
|
||||
@@ -99,7 +99,7 @@ export function useGsapTransition(tabKey: string) {
|
||||
return { pageRef, animateIn, animateOut };
|
||||
}
|
||||
|
||||
export function gsapCardHover() {
|
||||
function gsapCardHover() {
|
||||
return {
|
||||
onMouseEnter: (e: React.MouseEvent<HTMLElement>) => {
|
||||
gsap.to(e.currentTarget, {
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import { useCallback, useState } from "react";
|
||||
import type { ChatResponse } from "../api/client";
|
||||
import { request } from "../api/client";
|
||||
import { createChildLogger } from "../logger";
|
||||
import { createLogger } from "../lib/logger";
|
||||
|
||||
const logger = createChildLogger("useMascotChat");
|
||||
const logger = createLogger("useMascotChat");
|
||||
|
||||
export interface ChatContext {
|
||||
messageCount: number;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { useCallback } from "react";
|
||||
import type { UIState } from "../../entities/ui/types";
|
||||
import type { UIState } from "../api/client";
|
||||
import { uiStateValidator, useLocalStorage } from "./useLocalStorage";
|
||||
|
||||
export function useUIState() {
|
||||
|
||||
Reference in New Issue
Block a user