File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
front/src/app/forum/[forum_id]/ui Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,11 @@ COPY front/package.json front/pnpm-lock.yaml ./front/
1717
1818WORKDIR /app/admin
1919RUN --mount=type=cache,target=/root/.local/share/pnpm/store \
20- pnpm install --verbose
20+ pnpm install --frozen-lockfile --prefer-offline
2121
2222WORKDIR /app/front
2323RUN --mount=type=cache,target=/root/.local/share/pnpm/store \
24- pnpm install --verbose
24+ pnpm install --frozen-lockfile --prefer-offline
2525
2626WORKDIR /app
2727COPY admin/ ./admin/
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ const Article = ({
7070 : contextGroups
7171
7272 const [ releaseModalVisible , { setTrue : releaseModalOpen , setFalse : releaseModalClose } ] = useBoolean ( false )
73- const status = searchParams ?. get ( 'sort' )
73+ const status = searchParams ?. get ( 'sort' ) || 'hot'
7474 const [ search , setSearch ] = useState ( searchParams ?. get ( 'search' ) || '' )
7575 const searchRef = useRef ( search )
7676 const [ articleData , setArticleData ] = useState ( data )
@@ -731,7 +731,7 @@ const Article = ({
731731 open = { releaseModalVisible }
732732 onClose = { releaseModalClose }
733733 onOk = { ( ) => {
734- fetchList ( status , search , topics )
734+ fetchList ( status as Status , search , topics )
735735 router . refresh ( )
736736 releaseModalClose ( )
737737 } }
You can’t perform that action at this time.
0 commit comments