Skip to content

Commit 2c576a6

Browse files
committed
Remove error handling
1 parent e769722 commit 2c576a6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

site/src/pages/WorkspacesPage/WorkspacesPageView.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import { Link as RouterLink } from "react-router-dom"
1515
import * as TypesGen from "../../api/typesGenerated"
1616
import { AvatarData } from "../../components/AvatarData/AvatarData"
1717
import { EmptyState } from "../../components/EmptyState/EmptyState"
18-
import { ErrorSummary } from "../../components/ErrorSummary/ErrorSummary"
1918
import { Stack } from "../../components/Stack/Stack"
2019
import { TableLoader } from "../../components/TableLoader/TableLoader"
2120
import { getDisplayStatus } from "../../util/workspace"
@@ -34,13 +33,12 @@ export interface WorkspacesPageViewProps {
3433
error?: unknown
3534
}
3635

37-
export const WorkspacesPageView: FC<WorkspacesPageViewProps> = ({ loading, workspaces, error }) => {
36+
export const WorkspacesPageView: FC<WorkspacesPageViewProps> = ({ loading, workspaces }) => {
3837
useStyles()
3938
const theme: Theme = useTheme()
4039

4140
return (
4241
<Stack spacing={4}>
43-
{error && <ErrorSummary error={error} />}
4442
<Table>
4543
<TableHead>
4644
<TableRow>

0 commit comments

Comments
 (0)