Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jtmst committed May 11, 2024
1 parent 10cad20 commit 52ba9cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/ShowAllToggle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const ShowAllToggle = () => {
) as NodeListOf<HTMLElement>;
setShowAll(!showAll);
topics.forEach((topic, index) => {
if (index > 9) {
if (index > 8) {
if (topic.style.display === 'none' || !topic.style.display) {
topic.style.display = 'block';
} else {
Expand Down

0 comments on commit 52ba9cf

Please sign in to comment.