From ebedcdafcf1379ecdb02bebf9c04e448d0674a8c Mon Sep 17 00:00:00 2001 From: acidumirae Date: Mon, 1 May 2023 04:50:05 +0800 Subject: [PATCH 1/3] Fix --- run.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/run.sh b/run.sh index d1fcf3f..73d7abb 100755 --- a/run.sh +++ b/run.sh @@ -14,4 +14,5 @@ else 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 + -- 2.34.1 From b911f65535ba7975f5fbeabc378d163103777814 Mon Sep 17 00:00:00 2001 From: acidumirae Date: Mon, 1 May 2023 04:59:04 +0800 Subject: [PATCH 2/3] Fix & conversion rules --- .gitattributes | 15 +++++++++++++++ run.sh | 2 ++ 2 files changed, 17 insertions(+) create mode 100644 .gitattributes 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 73d7abb..35de5f6 100755 --- a/run.sh +++ b/run.sh @@ -6,10 +6,12 @@ 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 -- 2.34.1 From 804a9cf692ca00cbeb6da64921e06e4b2dd37131 Mon Sep 17 00:00:00 2001 From: victorAnumudu Date: Mon, 1 May 2023 11:46:39 +0100 Subject: [PATCH 3/3] removed props.handleBlur from amount input box in transfer page --- src/components/MyWallet/TransferFund.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}

} -- 2.34.1