Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/modules/peer/PeerExpirationToggle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const PeerExpirationToggle = ({
<>
<IconInfoCircle size={14} />
<span>
This setting is disabled for all peers added with an setup-key.
This setting is disabled for all peers added with a setup-key.

@coderabbitai coderabbitai Bot Jun 11, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Description: Find all occurrences of "an setup-key" in the codebase to ensure consistency.

rg -n "an setup-key" --type=tsx --type=ts

Repository: netbirdio/dashboard

Length of output: 91


🏁 Script executed:

#!/bin/bash
set -euo pipefail

# Find all occurrences of the exact typo in TS/TSX files.
rg -n "an setup-key" -S --glob='*.ts' --glob='*.tsx'

Repository: netbirdio/dashboard

Length of output: 184


Fix grammar typo in PeerActionCell.tsx (“an setup-key” → “a setup-key”)

src/modules/peers/PeerActionCell.tsx line 185 contains: “...added with an setup-key.” Change it to “...added with a setup-key.” (No other occurrences of “an setup-key” were found in TS/TSX.)

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/modules/peer/PeerExpirationToggle.tsx` at line 59, In PeerActionCell.tsx
update the grammar in the UI string at the location referenced (around the
PeerActionCell component / JSX render where the tooltip/label reads "added with
an setup-key") to use "a setup-key" instead; search for the string "an
setup-key" in the PeerActionCell render/JSX and replace it with "a setup-key" so
the displayed text is grammatically correct.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bomkz could you please also update the typo in PeerActionCell.tsx too?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like the humans are having a chat. I'll hop back into my burrow for now. If you need me again, just tag @coderabbitai in a new comment, and I'll come hopping out!

</span>
</>
) : (
Expand Down
Loading