Skip to content

Commit

Permalink
PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
neoxelox committed Dec 13, 2024
1 parent d09f101 commit 65027a4
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,13 @@ function ParameterInput({
)

default:
return null
return (
<TextArea
value={'Parameter type not supported'}
minRows={1}
maxRows={1}
disabled={true}
/>
)
}
}
2 changes: 2 additions & 0 deletions packages/core/src/lib/disk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ async function getReadableStreamFromFile(file: File) {
export class DiskWrapper {
private disk: Disk

// TODO: Receive an instance of Disk as a parameter,
// otherwise default to the local disk instance
constructor(visibility: 'private' | 'public' = 'private') {
this.disk = new Disk(this.buildDisk(visibility))
}
Expand Down
9 changes: 8 additions & 1 deletion packages/web-ui/src/ds/molecules/Chat/Message/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,14 @@ const Content = ({
)

default:
return null
return (
<ContentText
index={index}
color={color}
size={size}
message={'<Content type not supported>'}
/>
)
}
}

Expand Down

0 comments on commit 65027a4

Please sign in to comment.