Skip to content

Commit 449c2d0

Browse files
authored
fix: add warning message on connector modal (#17)
1 parent 132c4e8 commit 449c2d0

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

app/components/ConnectorModal.vue

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,17 @@ watch(open, isOpen => {
165165
{{ error }}
166166
</div>
167167

168+
<!-- Warning message -->
169+
<div
170+
role="alert"
171+
class="p-3 text-sm text-red-400 bg-red-500/10 border border-red-500/20 rounded-md"
172+
>
173+
<p class="font-mono text-sm text-fg font-bold">WARNING</p>
174+
<p class="text-sm text-fg-muted">
175+
This allows npmx to access your npm cli and any authenticated contexts.
176+
</p>
177+
</div>
178+
168179
<button
169180
type="submit"
170181
:disabled="!tokenInput.trim() || isConnecting"

0 commit comments

Comments
 (0)