Skip to content

Commit 0490f52

Browse files
committed
refactor: use WidgetsIcon for null resources
1 parent 20086c1 commit 0490f52

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

site/src/components/Resources/ResourceAvatar.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import Avatar from "@material-ui/core/Avatar"
22
import { makeStyles } from "@material-ui/core/styles"
33
import FolderIcon from "@material-ui/icons/FolderOutlined"
44
import HelpIcon from "@material-ui/icons/HelpOutlined"
5+
import WidgetsIcon from "@material-ui/icons/WidgetsOutlined"
56
import ImageIcon from "@material-ui/icons/ImageOutlined"
67
import MemoryIcon from "@material-ui/icons/MemoryOutlined"
78
import React from "react"
@@ -22,7 +23,7 @@ const iconByResource: Record<string, typeof MemoryIcon> = {
2223
google_compute_instance: AdjustedMemoryIcon,
2324
aws_instance: AdjustedMemoryIcon,
2425
kubernetes_deployment: AdjustedMemoryIcon,
25-
null_resource: HelpIcon,
26+
null_resource: WidgetsIcon,
2627
}
2728

2829
export type ResourceAvatarProps = { type: string }

0 commit comments

Comments
 (0)