mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
* redesign "add chain" button * fix wallet detection * [skip ci] update default value for ENV * fix tests * return button to the footer and add source to mixpanel event * regcred from helmfile for review * [skip ci] remove wallets env from values for demo stand * use react-query to cache detection result * add cookie to hide button in the topbar * add prefix to svg ids to fix rabby icon * update screenshot * remove unnecessary comment --------- Co-authored-by: Nick Zenchik <[email protected]>
18 lines
434 B
Bash
Executable File
18 lines
434 B
Bash
Executable File
#!/usr/bin/env sh
|
|
. "$(dirname -- "$0")/_/husky.sh"
|
|
|
|
# lint js/ts files
|
|
echo 🧿 Running file linter...
|
|
npx lint-staged
|
|
|
|
# format svg
|
|
echo 🧿 Running svg formatter...
|
|
for file in `git diff --diff-filter=ACMRT --cached --name-only | grep ".svg\$"`
|
|
do
|
|
echo "Formatting $file"
|
|
./node_modules/.bin/svgo -q $file --config svgo.config.format.js
|
|
git add $file
|
|
done
|
|
|
|
echo ✅ All pre-commit jobs are done
|