feat: remove doubled upload button

This commit is contained in:
2026-02-04 16:58:06 +05:00
parent 64dfc2c441
commit d31e446fbd
6 changed files with 8 additions and 16 deletions
-5
View File
@@ -1,6 +1,4 @@
<script lang="ts">
import Button from "../ui/Button.svelte";
interface Props {
onUploadNewImage?: () => void;
}
@@ -10,9 +8,6 @@
<div class="app-header">
<h1>Twitch Panels Creator</h1>
{#if onUploadNewImage}
<Button variant="primary" onclick={onUploadNewImage}>Загрузить изображение</Button>
{/if}
</div>
<style>