feat(utils): useButtonConfirmation.onButtonClick -> onActivate

This commit is contained in:
2026-02-10 16:47:50 +01:00
parent 8502d1d8dc
commit 1458acd20b
6 changed files with 9 additions and 9 deletions

View File

@@ -18,7 +18,7 @@ const { selected, selectorPosition } = useButtonNavigation({
achievements: [225, 167, 31, 26],
},
initialButton: store.selectedButton,
onButtonClick: (button) => {
onActivate: (button) => {
if (button === "theme") throw new Error(`Not implemented: ${button}`);
if (button === "achievements") {