Skip to content

Commit

Permalink
fix: Build fixes after tweaks.
Browse files Browse the repository at this point in the history
  • Loading branch information
petejohanson committed Jul 15, 2024
1 parent b254dac commit 679c5ec
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/behaviors/BehaviorBindingPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ import { useEffect, useMemo, useState } from "react";
import {
GetBehaviorDetailsResponse,
BehaviorBindingParametersSet,
BehaviorParameterValueDescription,
} from "@zmkfirmware/zmk-studio-ts-client/behaviors";
import { BehaviorBinding } from "@zmkfirmware/zmk-studio-ts-client/keymap";
import { BehaviorParametersPicker } from "./BehaviorParametersPicker";
import { hid_usage_page_and_id_from_usage } from "../hid-usages";
import { validateValue } from "./parameters";

export interface BehaviorBindingPickerProps {
Expand Down
2 changes: 1 addition & 1 deletion src/behaviors/BehaviorParametersPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const BehaviorParametersPicker = ({
/>
{(set?.param2?.length || 0) > 0 && (
<ParameterValuePicker
values={set.param2}
values={set!.param2}
value={param2}
layers={layers}
onValueChanged={onParam2Changed}
Expand Down

0 comments on commit 679c5ec

Please sign in to comment.