Skip to content

Commit 3d0d70b

Browse files
committed
Merge branch 'bq/move-alert' of https://github.com/coder/coder into bq/move-alert
2 parents 5ba0765 + 04994a4 commit 3d0d70b

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

site/src/pages/WorkspacePage/WorkspaceNotifications.tsx

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,15 @@ type WorkspaceNotificationsProps = {
3636
latestVersion?: TemplateVersion;
3737
};
3838

39-
export const WorkspaceNotifications: FC<WorkspaceNotificationsProps> = (
40-
props,
41-
) => {
42-
const {
43-
workspace,
44-
template,
45-
latestVersion,
46-
permissions,
47-
onRestartWorkspace,
48-
onUpdateWorkspace,
49-
onActivateWorkspace,
50-
} = props;
39+
export const WorkspaceNotifications: FC<WorkspaceNotificationsProps> = ({
40+
workspace,
41+
template,
42+
latestVersion,
43+
permissions,
44+
onRestartWorkspace,
45+
onUpdateWorkspace,
46+
onActivateWorkspace,
47+
}) => {
5148
const notifications: Notification[] = [];
5249

5350
// Outdated
@@ -250,8 +247,11 @@ type NotificationPillProps = {
250247
icon: ReactNode;
251248
};
252249

253-
const NotificationPill: FC<NotificationPillProps> = (props) => {
254-
const { notifications, type, icon } = props;
250+
const NotificationPill: FC<NotificationPillProps> = ({
251+
notifications,
252+
type,
253+
icon,
254+
}) => {
255255
const theme = useTheme();
256256

257257
return (

0 commit comments

Comments
 (0)