bracesproul/lots-o-slots

refactor deposit and play now dialog

Closed this issue · 0 comments

Turn into one component
Should accept all props that need to be passed to backend mutation
Should have section to hookup to backend so it can be prefiled with existing data if user id is stored
Should have two stages: 'deposit' and 'playNow'
Depending on which one is selected that will go first
If it's the first one then it should only be either open or closed, clicking next in dialog activates the next dialog
Should keep props in state so they can later be passed to the mutation

In the end only one component should be in the feature files, with a stage.