1
+ import { HOTKEY_SELECTOR_A_ENABLED , HOTKEY_SELECTOR_B_ENABLED } from "@/App" ;
1
2
import {
2
3
KEYBINDINGS_STATE ,
3
4
PLAYERS_STATE ,
8
9
import CardSelector from "@/components/CardSelector" ;
9
10
import { CARD_SELECTOR_STATE } from "@/pages/Blackjack/routes/Round" ;
10
11
import { Card , CardRank , CardSuit , Card_NOEMPTY } from "@/types/Card" ;
11
- import { createEvent } from "react-event-hook" ;
12
12
import { availableCards } from "@/types/Keybindings" ;
13
13
import {
14
14
GameState ,
@@ -24,7 +24,6 @@ import { getPlayer } from "@/utils/PlayerHelper";
24
24
import { joinedStringToCards , rankToNumber } from "@/utils/PokerHelper" ;
25
25
import { useRecoilImmerState } from "@/utils/RecoilImmer" ;
26
26
import {
27
- Button ,
28
27
Container ,
29
28
Divider ,
30
29
Flex ,
@@ -40,12 +39,12 @@ import { notifications } from "@mantine/notifications";
40
39
import cloneDeep from "lodash/cloneDeep" ;
41
40
import { TexasHoldem } from "poker-variants-odds-calculator" ;
42
41
import { useEffect , useRef , useState } from "react" ;
42
+ import { createEvent } from "react-event-hook" ;
43
43
import { useHotkeys } from "react-hotkeys-hook" ;
44
44
import { atom , useRecoilState , useRecoilValue } from "recoil" ;
45
45
import CommunityCards from "../components/CommunityCards" ;
46
46
import RoundPlayerCard from "../components/RoundPlayerCard" ;
47
47
import { getDealerData } from "./PreRound" ;
48
- import { HOTKEY_SELECTOR_A_ENABLED , HOTKEY_SELECTOR_B_ENABLED } from "@/App" ;
49
48
50
49
export const FOLD_CONFIRM = atom < boolean > ( {
51
50
key : "FOLD_CONFIRM" ,
0 commit comments