diff options
Diffstat (limited to 'frontend/src/components')
-rw-r--r-- | frontend/src/components/errors/errorToast | 9 | ||||
-rw-r--r-- | frontend/src/components/gameList.js | 1 |
2 files changed, 9 insertions, 1 deletions
diff --git a/frontend/src/components/errors/errorToast b/frontend/src/components/errors/errorToast new file mode 100644 index 00000000..39020088 --- /dev/null +++ b/frontend/src/components/errors/errorToast @@ -0,0 +1,9 @@ +import React from 'react' + +const MyToastContent = (props) => ( + <div> + <span>{props.myContent.message}</span> + </div> +) + +export default MyToastContent diff --git a/frontend/src/components/gameList.js b/frontend/src/components/gameList.js index f49a7589..b4167927 100644 --- a/frontend/src/components/gameList.js +++ b/frontend/src/components/gameList.js @@ -6,7 +6,6 @@ import Immutable from 'seamless-immutable' const GameList = (props) => ( <div> {Immutable.asMutable(props.games).map((game, index) => { - const joinGame = () => props.joinGame(game.id) return (<Flex key={index}> |