Skip to content

Commit 5a462ce

Browse files
committed
Fix missed keyImageOption getter to use shared constants
1 parent b5257d7 commit 5a462ce

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/roam/src/components/settings/DiscourseNodeCanvasSettings.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ const DiscourseNodeCanvasSettings = ({
7171
const [keyImageOption, setKeyImageOption] = useState(
7272
() =>
7373
getDiscourseNodeSetting<string>(nodeType, [
74-
"canvasSettings",
75-
"key-image-option",
74+
DISCOURSE_NODE_KEYS.canvasSettings,
75+
CANVAS_KEYS.keyImageOption,
7676
]) ?? "",
7777
);
7878

0 commit comments

Comments
 (0)