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:
parent
2e0c87023e
commit
a412fce939
1 changed files with 9 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue