Skip to content

Commit 3219ceb

Browse files
committed
ci: github pages
1 parent be1b8d4 commit 3219ceb

4 files changed

Lines changed: 3 additions & 10 deletions

File tree

.github/workflows/deploy-gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
cache: 'npm'
3333

3434
- name: Install dependencies
35-
run: npm ci
35+
run: npm install
3636

3737
- name: Build main app
3838
run: npm run build:production

.scannerwork/report-task.txt

Lines changed: 0 additions & 6 deletions
This file was deleted.

src/app-hooks/proTabsContext/index.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ const useProTabContext = () => {
3434
const ProTabProvider = ({ children }) => {
3535
const [activeKey, setActiveKey] = useState('')
3636
const [panes, setPanes] = useState(initialPanes)
37-
const navigate = useNavigate()
3837
const { redirectTo } = useSafeNavigate()
3938

4039
const removeTab = useCallback(

src/components/stateless/BackgroundBoxes/index.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ export const BoxesCore = ({ className, ...rest }) => {
1919
const colsCount = 30
2020

2121
// 随机颜色矩阵:在挂载后生成以避免在 render 中调用 Math.random(保持纯净)
22-
const [randomColors, setRandomColors] = React.useState(() => [])
22+
const [randomColors, setRandomColors] = useState(() => [])
2323

24-
React.useEffect(() => {
24+
useEffect(() => {
2525
const matrix = []
2626
for (let i = 0; i < rowsCount; i++) {
2727
const row = []

0 commit comments

Comments
 (0)