Skip to content

Commit fa1b521

Browse files
committed
Remove uneeded refresh
1 parent 2b6c2c4 commit fa1b521

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

packages/web/src/components/device-detail/device-components.tsx

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ function sortComponentsByType(components: Component[]): Component[] {
6969
export function DeviceComponents({
7070
deviceStatus,
7171
isLoading,
72-
onRefresh,
7372
}: DeviceComponentsProps) {
7473
const { t } = useTranslation();
7574
const [showAllComponents, setShowAllComponents] = useState(false);
@@ -115,7 +114,6 @@ export function DeviceComponents({
115114
key={component.key}
116115
component={component}
117116
deviceIp={deviceIp}
118-
onRefresh={onRefresh}
119117
/>
120118
);
121119
}
@@ -126,7 +124,6 @@ export function DeviceComponents({
126124
key={component.key}
127125
component={component}
128126
deviceIp={deviceIp}
129-
onRefresh={onRefresh}
130127
/>
131128
);
132129
}
@@ -137,7 +134,6 @@ export function DeviceComponents({
137134
key={component.key}
138135
component={component}
139136
deviceIp={deviceIp}
140-
onRefresh={onRefresh}
141137
/>
142138
);
143139
}
@@ -148,7 +144,6 @@ export function DeviceComponents({
148144
key={component.key}
149145
component={component}
150146
deviceIp={deviceIp}
151-
onRefresh={onRefresh}
152147
/>
153148
);
154149
}
@@ -159,7 +154,6 @@ export function DeviceComponents({
159154
key={component.key}
160155
component={component}
161156
deviceIp={deviceIp}
162-
onRefresh={onRefresh}
163157
/>
164158
);
165159
}
@@ -170,7 +164,6 @@ export function DeviceComponents({
170164
key={component.key}
171165
component={component}
172166
deviceIp={deviceIp}
173-
onRefresh={onRefresh}
174167
/>
175168
);
176169
}
@@ -181,7 +174,6 @@ export function DeviceComponents({
181174
key={component.key}
182175
component={component}
183176
deviceIp={deviceIp}
184-
onRefresh={onRefresh}
185177
/>
186178
);
187179
}
@@ -191,7 +183,6 @@ export function DeviceComponents({
191183
key={component.key}
192184
component={component}
193185
deviceIp={deviceIp}
194-
onRefresh={onRefresh}
195186
/>
196187
);
197188
};

0 commit comments

Comments
 (0)