Skip to content

Commit

Permalink
Add a couple of TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
mofojed committed Apr 25, 2024
1 parent d180a22 commit fbb58d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions plugins/ui/src/js/src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
}
}

// TODO: Remove once using the @deephaven/components ErrorView: https://github.com/deephaven/web-client-ui/pull/1965
.error-view {
position: relative;
color: $danger;
Expand Down
1 change: 1 addition & 0 deletions plugins/ui/src/js/src/widget/ErrorView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export type ErrorViewerProps = {

/**
* Component that displays an error message in a textarea so user can scroll and a copy button.
* TODO: Use the one from @deephaven/components when it's merged: https://github.com/deephaven/web-client-ui/pull/1965
*/
function ErrorView({ message, type = 'Error' }: ErrorViewerProps): JSX.Element {
const [isExpanded, setIsExpanded] = useState(false);
Expand Down

0 comments on commit fbb58d3

Please sign in to comment.