diff --git a/plugins/ui/src/js/src/styles.scss b/plugins/ui/src/js/src/styles.scss index c4fc2b8f1..520d6b62c 100644 --- a/plugins/ui/src/js/src/styles.scss +++ b/plugins/ui/src/js/src/styles.scss @@ -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; diff --git a/plugins/ui/src/js/src/widget/ErrorView.tsx b/plugins/ui/src/js/src/widget/ErrorView.tsx index 14caf64a3..1a39ba763 100644 --- a/plugins/ui/src/js/src/widget/ErrorView.tsx +++ b/plugins/ui/src/js/src/widget/ErrorView.tsx @@ -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);