Skip to content

Commit

Permalink
Merge pull request #29 from yuntijs/main
Browse files Browse the repository at this point in the history
🐛 fix: overwrite columns when footerConfig.moreProducts specify
  • Loading branch information
canisminor1990 committed Dec 27, 2023
2 parents e2158a5 + 251fd90 commit 684928e
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 684928e

Please sign in to comment.