File tree 1 file changed +14
-14
lines changed
site/src/pages/WorkspacePage 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -36,18 +36,15 @@ type WorkspaceNotificationsProps = {
36
36
latestVersion ?: TemplateVersion ;
37
37
} ;
38
38
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
+ } ) => {
51
48
const notifications : Notification [ ] = [ ] ;
52
49
53
50
// Outdated
@@ -250,8 +247,11 @@ type NotificationPillProps = {
250
247
icon : ReactNode ;
251
248
} ;
252
249
253
- const NotificationPill : FC < NotificationPillProps > = ( props ) => {
254
- const { notifications, type, icon } = props ;
250
+ const NotificationPill : FC < NotificationPillProps > = ( {
251
+ notifications,
252
+ type,
253
+ icon,
254
+ } ) => {
255
255
const theme = useTheme ( ) ;
256
256
257
257
return (
You can’t perform that action at this time.
0 commit comments