From 3af6fd260f304a325b9d27663de2a460fc2537ec Mon Sep 17 00:00:00 2001 From: CM Date: Thu, 12 Sep 2024 00:36:02 +0100 Subject: [PATCH] small bug fix --- src/components/CreatePrediction.jsx | 5 +---- src/components/SameTFunds.jsx | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/components/CreatePrediction.jsx b/src/components/CreatePrediction.jsx index af7cdb6..8ee7ef3 100644 --- a/src/components/CreatePrediction.jsx +++ b/src/components/CreatePrediction.jsx @@ -332,10 +332,7 @@ export default function Prediction(properties) { setCommissionFunction(0.01); } else { setCommissionFunction(parsedInput); - } - - e.currentTarget.value = input; - + } }, 500), [] ); diff --git a/src/components/SameTFunds.jsx b/src/components/SameTFunds.jsx index a367294..314179f 100644 --- a/src/components/SameTFunds.jsx +++ b/src/components/SameTFunds.jsx @@ -224,10 +224,7 @@ export default function SameTFunds(properties) { setCommissionFunction(0.01); } else { setCommissionFunction(parsedInput); - } - - e.currentTarget.value = input; - + } }, 500), [] );