parent
04d5856f7d
commit
09b8b9c6f8
20 changed files with 351 additions and 231 deletions
|
|
@ -46,7 +46,8 @@ function Error (data: ErrorComponentProps)
|
|||
{
|
||||
const { ref, focusKey, focusSelf } = useFocusable({ focusKey: "game-details-error", preferredChildFocusKey: "main-details" });
|
||||
|
||||
useShortcuts(focusKey, () => [{ label: "Back", button: GamePadButtonCode.B, action: HandleGoBack }]);
|
||||
const router = useRouter();
|
||||
useShortcuts(focusKey, () => [{ label: "Back", button: GamePadButtonCode.B, action: () => HandleGoBack(router) }]);
|
||||
const { shortcuts } = useShortcutContext();
|
||||
|
||||
return <AnimatedBackground ref={ref} backgroundKey="game-details">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue