diff --git a/client/src/originalGangstaOnboarding/ChipSelection.js b/client/src/originalGangstaOnboarding/ChipSelection.js
index e503415..1bd167c 100644
--- a/client/src/originalGangstaOnboarding/ChipSelection.js
+++ b/client/src/originalGangstaOnboarding/ChipSelection.js
@@ -6,7 +6,6 @@ import {Button, Select, TextInput} from "react-materialize";
const ChipSelection = (props) => {
const [chips, setChips] = useState([]);
const [selectedChip, setSelectedChip] = useState('1');
- const [chipScale, setChipScale] = useState('2');
useEffect(() => {
(async() => {
@@ -26,7 +25,7 @@ const ChipSelection = (props) => {
const chipsToOptions = chips.map( (chip, index) => );
const disableSubmit = () => {
- return !((parseInt(selectedChip) > 0) && (parseInt(chipScale) > 0));
+ return !(parseInt(selectedChip) > 0);
}
const handleSubmit = async () => {
@@ -37,7 +36,7 @@ const ChipSelection = (props) => {
chip_code: chipData.code,
chip_symbol: chipData.symbol,
chip_prefixed: chipData.prefixed,
- chip_scale: parseInt(chipScale)
+ chip_scale: chipData.scale
}
try{
@@ -61,14 +60,6 @@ const ChipSelection = (props) => {
{ chipsToOptions }
- setChipScale(e.target.value)}
- />
-