aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2024-04-29 02:31:44 +0100
committerGravatar Joe Banks <[email protected]>2024-04-29 02:31:44 +0100
commite948396f5c99109bcbac3773f5a53dec5065e25a (patch)
tree480aef38f6fb2894bb6c4a0cd028f987acd782fc
parentRevert "Add tabIndex to all tag children" (diff)
Revert "Add tabindex to tags for keyboard navigation"
This reverts commit 59bcddea132772e7e1317f79405ec6c7b709f446.
-rw-r--r--src/pages/index.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/index.tsx b/src/pages/index.tsx
index 33ba6fe..71b9312 100644
--- a/src/pages/index.tsx
+++ b/src/pages/index.tsx
@@ -51,7 +51,7 @@ const IndexPage: React.FC<IndexPageProps> = ({ data }) => {
<PageLayout header="Available Services" subheader="Below are all the internal services for Python Discord">
<main>
<div>
- <LargerTag tabIndex={0} onClick={() => setSelectedTag(null)} className={selectedTag == null ? "active" : ""}>All</LargerTag>
+ <LargerTag onClick={() => setSelectedTag(null)} className={selectedTag == null ? "active" : ""}>All</LargerTag>
{data.services.tags.map((tag, index) => (
<LargerTag onClick={() => setSelectedTag(tag)} className={tag == selectedTag ? "active" : ""} key={index}>{capitalize(tag)}</LargerTag>
))}