fix: fix file toggle in the playground chat (#8435)

* add file toggle to playground chat

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
Mike Fortman 2025-06-10 14:52:44 -05:00 committed by GitHub
commit a412fce939
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,8 +5,16 @@ export function CustomFileCard({
fileName,
path,
fileType,
showFile = true,
}: fileCardPropsType) {
return <FileCard fileName={fileName} path={path} fileType={fileType} />;
return (
<FileCard
fileName={fileName}
path={path}
fileType={fileType}
showFile={showFile}
/>
);
}
export default CustomFileCard;