Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyiya committed Mar 4, 2024
1 parent c4e3b2f commit a0837f4
Show file tree
Hide file tree
Showing 4 changed files with 979 additions and 934 deletions.
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"build": "pnpm run build:index & pnpm run build:admin"
},
"dependencies": {
"@types/node": "^20.11.16",
"@types/react": "^18.2.55",
"@types/node": "^20.11.24",
"@types/react": "^18.2.61",
"@types/react-dom": "^18.2.19",
"bulma": "^0.9.4",
"bulma-list": "^1.2.0",
Expand All @@ -30,8 +30,8 @@
},
"devDependencies": {
"@svgr/webpack": "^8.1.0",
"autoprefixer": "^10.4.17",
"browserslist": "^4.22.3",
"autoprefixer": "^10.4.18",
"browserslist": "^4.23.0",
"clean-webpack-plugin": "^4.0.0",
"copy-webpack-plugin": "^11.0.0",
"cross-env": "^7.0.3",
Expand All @@ -40,17 +40,17 @@
"esbuild-loader": "^3.2.0",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.6.0",
"mini-css-extract-plugin": "^2.8.0",
"mini-css-extract-plugin": "^2.8.1",
"postcss": "^8.4.35",
"postcss-flexbugs-fixes": "^5.0.2",
"postcss-loader": "^7.3.4",
"postcss-preset-env": "^9.3.0",
"postcss-preset-env": "^9.4.0",
"resolve-url-loader": "^5.0.0",
"sass": "^1.70.0",
"sass": "^1.71.1",
"sass-loader": "^13.3.3",
"style-loader": "^3.3.4",
"terser-webpack-plugin": "^5.3.10",
"webpack": "^5.90.1",
"webpack": "^5.90.3",
"webpack-bundle-analyzer": "^4.10.1",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1",
Expand Down
6 changes: 2 additions & 4 deletions packages/index/src/pages/index/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ export default function IndexPage() {
corsAxios.get(
'https://www.clicli.cc/posts?status=public&sort=&tag=%E6%8E%A8%E8%8D%90&uid=&page=1&pageSize=12'
),
corsAxios.get(
'https://www.clicli.cc/posts?status=public&sort=&tag=&uid=&page=1&pageSize=24'
),
corsAxios.get('https://www.clicli.cc/posts?status=public&sort=&tag=&uid=&page=1&pageSize=24'),
corsAxios.get('https://www.clicli.cc/rank?day=60'),
] as any).then((_resp) => {
const resp = _resp.map(({ value }: any, i) => {
Expand Down Expand Up @@ -71,7 +69,7 @@ export default function IndexPage() {
icon={indexConfig[index].icon}
title={indexConfig[index].title}
moreUrl={`/pv/tag?${indexConfig[index].query}`}
aside={index == 0 && <RankList list={state.at(-1)!} />}
aside={index == 0 && <RankList list={state[state.length - 1]} />}
asideTitle={(index == 0 && 'Ranks') as any}
/>
)
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@oplayer/react": "latest",
"@oplayer/ui": "latest",
"anime4k.js": "latest",
"devtools-detector": "^2.0.14",
"devtools-detector": "^2.0.15",
"github-markdown-css": "^5.5.1",
"hls.js": "0.14.17",
"m3u8-parser": "^7.1.0",
Expand Down
Loading

0 comments on commit a0837f4

Please sign in to comment.