Skip to content

Commit 4a0f1bb

Browse files
fix: spelling of support (#174)
1 parent a6301fc commit 4a0f1bb

File tree

6 files changed

+20
-20
lines changed

6 files changed

+20
-20
lines changed

app-config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ export const APP_CONFIG_DEFAULTS: AppConfig = {
55
pageTitle: 'Voice Assistant',
66
pageDescription: 'A voice assistant built with LiveKit',
77

8-
suportsChatInput: true,
9-
suportsVideoInput: true,
10-
suportsScreenShare: true,
8+
supportsChatInput: true,
9+
supportsVideoInput: true,
10+
supportsScreenShare: true,
1111

1212
logo: '/lk-logo.svg',
1313
accent: '#002cf2',

app/components/livekit/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ export default function LiveKit() {
5454
<AgentControlBar
5555
className="w-full"
5656
capabilities={{
57-
suportsChatInput: true,
58-
suportsVideoInput: true,
59-
suportsScreenShare: true,
57+
supportsChatInput: true,
58+
supportsVideoInput: true,
59+
supportsScreenShare: true,
6060
}}
6161
/>
6262
</div>

components/app.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ interface AppProps {
2020

2121
export function App({ appConfig }: AppProps) {
2222
const [sessionStarted, setSessionStarted] = React.useState(false);
23-
const { suportsChatInput, suportsVideoInput, suportsScreenShare, startButtonText } = appConfig;
23+
const { supportsChatInput, supportsVideoInput, supportsScreenShare, startButtonText } = appConfig;
2424

2525
const capabilities = {
26-
suportsChatInput,
27-
suportsVideoInput,
28-
suportsScreenShare,
26+
supportsChatInput,
27+
supportsVideoInput,
28+
supportsScreenShare,
2929
};
3030

3131
const { connectionDetails, refreshConnectionDetails } = useConnectionDetails();

components/livekit/agent-control-bar/agent-control-bar.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { UseAgentControlBarProps, useAgentControlBar } from './hooks/use-agent-c
1616
export interface AgentControlBarProps
1717
extends React.HTMLAttributes<HTMLDivElement>,
1818
UseAgentControlBarProps {
19-
capabilities: Pick<AppConfig, 'suportsChatInput' | 'suportsVideoInput' | 'suportsScreenShare'>;
19+
capabilities: Pick<AppConfig, 'supportsChatInput' | 'supportsVideoInput' | 'supportsScreenShare'>;
2020
onChatOpenChange?: (open: boolean) => void;
2121
onSendMessage?: (message: string) => Promise<void>;
2222
onDisconnect?: () => void;
@@ -81,7 +81,7 @@ export function AgentControlBar({
8181
)}
8282
{...props}
8383
>
84-
{capabilities.suportsChatInput && (
84+
{capabilities.supportsChatInput && (
8585
<div
8686
inert={!chatOpen}
8787
className={cn(
@@ -142,7 +142,7 @@ export function AgentControlBar({
142142
</div>
143143
)}
144144

145-
{capabilities.suportsVideoInput && visibleControls.camera && (
145+
{capabilities.supportsVideoInput && visibleControls.camera && (
146146
<div className="flex items-center gap-0">
147147
<TrackToggle
148148
variant="primary"
@@ -172,7 +172,7 @@ export function AgentControlBar({
172172
</div>
173173
)}
174174

175-
{capabilities.suportsScreenShare && visibleControls.screenShare && (
175+
{capabilities.supportsScreenShare && visibleControls.screenShare && (
176176
<div className="flex items-center gap-0">
177177
<TrackToggle
178178
variant="secondary"

components/session-view.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ import { cn } from '@/lib/utils';
1414
interface SessionViewProps {
1515
disabled: boolean;
1616
capabilities: {
17-
suportsChatInput: boolean;
18-
suportsVideoInput: boolean;
19-
suportsScreenShare: boolean;
17+
supportsChatInput: boolean;
18+
supportsVideoInput: boolean;
19+
supportsScreenShare: boolean;
2020
};
2121
sessionStarted: boolean;
2222
}

lib/types.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ export interface AppConfig {
1212
pageDescription: string;
1313
companyName: string;
1414

15-
suportsChatInput: boolean;
16-
suportsVideoInput: boolean;
17-
suportsScreenShare: boolean;
15+
supportsChatInput: boolean;
16+
supportsVideoInput: boolean;
17+
supportsScreenShare: boolean;
1818

1919
logo: string;
2020
startButtonText: string;

0 commit comments

Comments
 (0)