Add NO_WELCOME option for dev mode
This commit is contained in:
parent
2592b35c76
commit
c3e4230c51
1 changed files with 3 additions and 1 deletions
|
@ -22,12 +22,14 @@ const BoardContainer = styled.div`
|
|||
background-color: #202b38;
|
||||
`;
|
||||
|
||||
const SHOW_WELCOME = process.env.REACT_APP_NO_WELCOME !== "1";
|
||||
|
||||
export const BoardView = () => {
|
||||
const { currentUser, users } = useUsers();
|
||||
const [showLoadGameModal, setShowLoadGameModal] = React.useState(false);
|
||||
const [showHelpModal, setShowHelpModal] = React.useState(false);
|
||||
const [showInfoModal, setShowInfoModal] = React.useState(false);
|
||||
const [showWelcomeModal, setShowWelcomeModal] = React.useState(true);
|
||||
const [showWelcomeModal, setShowWelcomeModal] = React.useState(SHOW_WELCOME);
|
||||
const [menuOpen, setMenuOpen] = React.useState(false);
|
||||
const [edit, setEdit] = React.useState(false);
|
||||
|
||||
|
|
Loading…
Reference in a new issue