mirror of
https://github.com/pheralb/svgl.git
synced 2025-12-29 08:01:36 +08:00
⚙️ Fix warning message to include close button
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { BookIcon, Check, MegaphoneIcon } from 'lucide-svelte';
|
import { BookIcon, Check, MegaphoneIcon, XIcon } from 'lucide-svelte';
|
||||||
import { browser } from '$app/environment';
|
import { browser } from '$app/environment';
|
||||||
import { buttonStyles } from '@/ui/styles';
|
import { buttonStyles } from '@/ui/styles';
|
||||||
import { cn } from '@/utils/cn';
|
import { cn } from '@/utils/cn';
|
||||||
@@ -36,8 +36,8 @@
|
|||||||
warning = true;
|
warning = true;
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Check size={14} strokeWidth={2} />
|
<XIcon size={14} strokeWidth={2} />
|
||||||
<span>Accept</span>
|
<span>Close</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user