Couple of bugfixes

This commit is contained in:
eduardruzga
2024-11-24 15:28:49 +02:00
parent 1f09459fa5
commit 6e94d20a74
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ import React from 'react';
export const ExportChatButton = ({ exportChat }: { exportChat?: () => void }) => {
return (
<WithTooltip tooltip="Export Chat">
<IconButton title="Export Chat" onClick={exportChat}>
<IconButton title="Export Chat" onClick={() => exportChat?.()}>
<div className="i-ph:download-simple text-xl"></div>
</IconButton>
</WithTooltip>