From 5617cf9ba6fcce58a03cbeb0d040ab455b6157ef Mon Sep 17 00:00:00 2001 From: Jesse Katsumata Date: Sun, 10 Nov 2024 11:27:28 +0900 Subject: [PATCH 1/2] fix: publish ci --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index df583608..1b90d055 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [18] + node-version: [20] steps: - name: Checkout uses: actions/checkout@v2 From 5bebfee835b4e087b505328cee2fa06f17807411 Mon Sep 17 00:00:00 2001 From: Jesse Katsumata Date: Sun, 10 Nov 2024 16:28:23 +0900 Subject: [PATCH 2/2] Fix: lint --- js/SegmentedControl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/SegmentedControl.js b/js/SegmentedControl.js index 903f2784..9e244869 100644 --- a/js/SegmentedControl.js +++ b/js/SegmentedControl.js @@ -84,7 +84,7 @@ const SegmentedControl = ({ if (ref.current) { ref.current.measure((_x, _y, width) => updateSegmentWidth(width)); } - }, [values]); + }, [values, updateSegmentWidth]); return (