Skip to content

Commit 562eac3

Browse files
committed
fix: Update copy for tokenless select option
1 parent f461fa7 commit 562eac3

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/pages/AccountSettings/tabs/OrgUploadToken/TokenlessSection/TokenlessSection.test.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ describe('TokenlessSection', () => {
116116
render(<TokenlessSection />, { wrapper })
117117

118118
const optionText = await screen.findByText(
119-
'Select an authentication option'
119+
'Select an authentication option (only relevant for public repositories)'
120120
)
121121
expect(optionText).toBeInTheDocument()
122122
})

src/pages/AccountSettings/tabs/OrgUploadToken/TokenlessSection/TokenlessSection.tsx

+4-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,10 @@ const TokenlessSection: React.FC = () => {
6767
</div>
6868
</Card.Header>
6969
<Card.Content>
70-
<p className="mb-3">Select an authentication option</p>
70+
<p className="mb-3">
71+
Select an authentication option (only relevant for public
72+
repositories)
73+
</p>
7174
<RadioTileGroup
7275
value={
7376
tokenRequired

0 commit comments

Comments
 (0)