Type fixes

This commit is contained in:
eduardruzga
2024-11-23 10:41:43 +02:00
parent 6e8aa04d27
commit fbea474442
4 changed files with 13 additions and 4 deletions

View File

@@ -2,7 +2,7 @@ import WithTooltip from '~/components/ui/Tooltip';
import { IconButton } from '~/components/ui/IconButton';
import React from 'react';
export const ExportChatButton = ({ exportChat }: { exportChat: () => void }) => {
export const ExportChatButton = ({ exportChat }: { exportChat?: () => void }) => {
return (
<WithTooltip tooltip="Export Chat">
<IconButton title="Export Chat" onClick={exportChat}>