diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b0b067 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,15 @@ +# Set the default behavior, in case people don't have core.autocrlf set. +* text=auto + +# Explicitly declare text files you want to always be normalized and converted +# to native line endings on checkout. +*.jsx text +*.js text +*.css text + +# Declare files that will always have CRLF line endings on checkout. +*.md text eol=crlf + +# Denote all files that are truly binary and should not be modified. +*.sh binary + diff --git a/run.sh b/run.sh index d1fcf3f..35de5f6 100755 --- a/run.sh +++ b/run.sh @@ -6,12 +6,15 @@ export NODE_ENV="${NODE_ENV:-development}" if [ $NODE_ENV == "development" ]; then # this runs webpack-dev-server with hot reloading + echo "Development build" npm install --legacy-peer-deps npm start else # build the app and serve it via nginx + echo "Production build" npm install --legacy-peer-deps npm run build nginx -g 'daemon off;' -c /usr/src/app/nginx.conf nginx -c /usr/src/app/nginx.conf -fi \ No newline at end of file +fi + diff --git a/src/components/MyWallet/TransferFund.jsx b/src/components/MyWallet/TransferFund.jsx index bfc0b49..0e32309 100644 --- a/src/components/MyWallet/TransferFund.jsx +++ b/src/components/MyWallet/TransferFund.jsx @@ -125,8 +125,8 @@ function TransferFund({payment, wallet}) { inputHandler={props.handleChange} blurHandler={(e)=>{ getSendMoneyFee(e) - props.handleBlur }} + // props.handleBlur // onMouseLeave={(e)=>{getSendMoneyFee(e)}} /> {(props.errors.amount && props.touched.amount) &&

{props.errors.amount}

}