Remove unused files
This commit is contained in:
@@ -1,34 +0,0 @@
|
|||||||
<script lang="ts">
|
|
||||||
let { canProceed, photos, currentStep } = $props<{
|
|
||||||
canProceed: () => boolean;
|
|
||||||
photos: any[];
|
|
||||||
currentStep: any;
|
|
||||||
}>();
|
|
||||||
|
|
||||||
function handleBack() {
|
|
||||||
currentStep.set(4);
|
|
||||||
}
|
|
||||||
|
|
||||||
function handleNext() {
|
|
||||||
currentStep.set(6);
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<div class="flex justify-between">
|
|
||||||
<button
|
|
||||||
onclick={handleBack}
|
|
||||||
class="px-4 py-2 bg-gray-200 text-gray-700 rounded-lg font-medium hover:bg-gray-300"
|
|
||||||
>
|
|
||||||
← Back to Row Filter
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<button
|
|
||||||
onclick={handleNext}
|
|
||||||
disabled={!canProceed()}
|
|
||||||
class="px-4 py-2 bg-blue-600 text-white rounded-lg font-medium hover:bg-blue-700 disabled:bg-gray-400 disabled:cursor-not-allowed"
|
|
||||||
>
|
|
||||||
{canProceed()
|
|
||||||
? `Generate ${photos.filter(p => p.status === 'success' && p.cropData).length} Cards →`
|
|
||||||
: 'Waiting for photos to load and crop'}
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
Reference in New Issue
Block a user