move settle action to the homie cash flow details

This commit is contained in:
Bilal
2020-10-08 09:44:35 +03:00
parent 553df2e50d
commit 5249fe9629
3 changed files with 37 additions and 31 deletions

View File

@@ -40,7 +40,7 @@ const InputModal = (props) => {
<p><strong>{body}</strong></p>
<br/>
<div className="input-field col s6">
<input ref={inputField} defaultValue={defaultInputValue} id="input-num" type="number" className="validate" />
<input key={`defaultInput:${defaultInputValue}`} ref={inputField} defaultValue={defaultInputValue} id="input-num" type="number" className="validate" />
<label className="active" htmlFor="input-num">{inputLabel}</label>
</div>
</Modal>