chore: remove unnecessary description
Chang committed
Mar 8, 2026 at 11:20 UTC
04108eb2e4aff88de799c613bace4af4d8ef1d86
1 file changed
-16
frontend/src/components/TunnelCommandModal.tsx
-16
@@ -6,7 +6,6 @@ import {
6
DialogContent,
7
DialogHeader,
8
DialogTitle,
9
- DialogDescription,
9
DialogTrigger,
10
} from "@/components/ui/dialog";
11
import { Button } from "@/components/ui/button";
@@ -150,9 +149,6 @@ export function TunnelCommandModal({ trigger }: TunnelCommandModalProps) {
149
<Terminal className="w-5 h-5" />
150
Tunnel Setup Command
151
</DialogTitle>
153
- <DialogDescription>
154
- Set options and copy the command.
155
- </DialogDescription>
152
</DialogHeader>
153
154
<div className="space-y-4 py-4 [&>div]:flex [&>div]:flex-col">
@@ -175,9 +171,6 @@ export function TunnelCommandModal({ trigger }: TunnelCommandModalProps) {
171
className="rounded-l-none"
172
/>
173
</div>
178
- <p className="text-xs text-text-muted">
179
- The hostname or IP:Port where your service is running
180
- </p>
174
</div>
175
176
{/* Name Input */}
@@ -199,9 +192,6 @@ export function TunnelCommandModal({ trigger }: TunnelCommandModalProps) {
192
className="rounded-l-none"
193
/>
194
</div>
202
- <p className="text-xs text-text-muted">
203
- A unique identifier for your tunnel
204
- </p>
195
</div>
196
197
{/* Relay URLs Input */}
@@ -235,9 +225,6 @@ export function TunnelCommandModal({ trigger }: TunnelCommandModalProps) {
225
className="min-w-[140px] flex-1 bg-transparent text-sm outline-none placeholder:text-muted-foreground"
226
/>
227
</div>
238
- <p className="text-xs text-text-muted">
239
- Press Enter to add. Multiple relay servers for redundancy.
240
- </p>
228
</div>
229
230
<div className="space-y-2">
@@ -254,9 +241,6 @@ export function TunnelCommandModal({ trigger }: TunnelCommandModalProps) {
241
onChange={(e) => setThumbnailURL(e.target.value)}
242
placeholder="https://cdn.example.com/thumb.png"
243
/>
257
- <p className="text-xs text-text-muted">
258
- Image URL passed to `portal-tunnel`.
259
- </p>
244
{normalizedThumbnailURL && (
245
<div className="flex h-20 w-20 items-center justify-center overflow-hidden rounded-md border border-input bg-background">
246
<img