Skip to content

Commit

Permalink
🐛 fix: overwrite columns when footerConfig.moreProducts specify
Browse files Browse the repository at this point in the history
  • Loading branch information
Carrotzpc committed Dec 27, 2023
1 parent e2158a5 commit 251fd90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/slots/Footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const Footer = memo(() => {
: getColumns({ github: githubUrl || (pkg as any).homepage });

if (footerConfig?.resources) columns[0] = footerConfig?.resources;
if (footerConfig?.resources) columns[0] = footerConfig?.resources;
if (footerConfig?.moreProducts) columns[3] = footerConfig?.moreProducts;

const bottomFooter = footerConfig?.bottom || footer;

Expand Down

0 comments on commit 251fd90

Please sign in to comment.