feat(utils): useButtonConfirmation.onButtonClick -> onActivate
This commit is contained in:
@@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user