Skip to content

Commit

Permalink
Merge pull request #173 from dnd-al-krk/fixes/various_small_fixes
Browse files Browse the repository at this point in the history
Disable button for game session create if validation is not passing
  • Loading branch information
ivellios authored Jul 9, 2024
2 parents e9e36be + d4aff5d commit dd6e374
Show file tree
Hide file tree
Showing 16 changed files with 446 additions and 246 deletions.
2 changes: 1 addition & 1 deletion src/pages/Account.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {inject, observer} from "mobx-react";
import TextField from "@material-ui/core/TextField";
import Button from "@material-ui/core/Button";


//account page /account
const styles = theme => ({
textField: {
width: '100%',
Expand Down
1 change: 1 addition & 0 deletions src/pages/CharacterCreate.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {inject, observer} from "mobx-react";
import TextField from "@material-ui/core/TextField";
import Button from "@material-ui/core/Button";

//character creation page /characters/create
const styles = (theme) => ({
addButton: {
marginTop: 20,
Expand Down
2 changes: 1 addition & 1 deletion src/pages/CharacterEdit.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import FormHelperText from "@material-ui/core/FormHelperText";
import Link from "react-router-dom/es/Link";
import TextField from "@material-ui/core/TextField";


//character edit page /characters/[character-hash]/edit
const styles = (theme) => ({
addButton: {
marginTop: 20,
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Characters.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import CharactersList from "../common/CharactersList";
const styles = (theme) => ({

});

//characters list (global) /characters
@withStyles(styles, {withTheme: true})
@inject('portalStore') @observer
export default class Characters extends React.Component{
Expand Down
Loading

0 comments on commit dd6e374

Please sign in to comment.