chg: dev: massive refactor on fetches - create centralized dataProvider #7
This commit is contained in:
@@ -22,7 +22,7 @@ const GridControl = ({ gameAssoc, onClick, resign }) => {
|
||||
} = useGame();
|
||||
|
||||
const [copied, setCopied] = useState(false);
|
||||
const shareUrl = gameAssoc ? `${window.location.origin}/battle/${gameAssoc}` : null;
|
||||
const shareUrl = gameAssoc ? `${window.location.origin}/play/${gameAssoc}` : null;
|
||||
const isAuthenticated = '1' === document.getElementById('mine-wrapper')?.dataset.isAuthenticated;
|
||||
|
||||
const handleShare = () => {
|
||||
|
||||
Reference in New Issue
Block a user