Remove test toast button
This commit is contained in:
@@ -44,24 +44,12 @@
|
||||
startingCharge = false;
|
||||
}
|
||||
}
|
||||
|
||||
function test() {
|
||||
addToast({
|
||||
closeDelay: 5000,
|
||||
data: {
|
||||
title: 'Success',
|
||||
description: 'The resource was created!',
|
||||
type: 'success'
|
||||
},
|
||||
});
|
||||
}
|
||||
</script>
|
||||
|
||||
<div class="grid grid-rows-6 h-full w-full">
|
||||
<div class="row-start-5 col-start-1 flex flex-col justify-center items-center">
|
||||
<div class="visible">
|
||||
<button class="btn btn-primary btn-lg uppercase" onclick={() => showOverlay = true}>Attivare la Ricarica</button>
|
||||
<button class="btn btn-secondary" onclick={test}>Test</button>
|
||||
</div>
|
||||
</div>
|
||||
<BSlideOverlay bind:show={showOverlay} closable={!startingCharge}>
|
||||
|
||||
Reference in New Issue
Block a user