Skip to content

Commit df6b983

Browse files
committed
fix: update z2m dep
1 parent bc401c8 commit df6b983

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/device-page/tabs/Bind.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ export default function Bind({ sourceIdx, device }: BindProps): JSX.Element {
171171
);
172172

173173
const onClear = useCallback(async ([sourceIdx, target, ieeeList]: [number, string, `0x${string}`[]]) => {
174-
await sendMessage(sourceIdx, "bridge/request/device/binds/clear", { target, ieeeList });
174+
await sendMessage(sourceIdx, "bridge/request/device/binds/clear", { target, ieee_list: ieeeList });
175175
}, []);
176176

177177
return (

src/pages/BindingsPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export default function BindingsPage(): JSX.Element {
125125
promises.push(
126126
sendMessage(sourceIdx, "bridge/request/device/binds/clear", {
127127
target: device.ieee_address,
128-
ieeeList: [all ? "0xffffffffffffffff" : (device.ieee_address as `0x${string}`)],
128+
ieee_list: [all ? "0xffffffffffffffff" : (device.ieee_address as `0x${string}`)],
129129
}),
130130
);
131131
}

0 commit comments

Comments
 (0)