forked from jsnbuchanan/crowd-funder-for-time-pwa
Fix TypeScript any types, console statements, and clean up duplicates
- Replace console.log with structured logger.debug() calls in AmountInput, GiftDetailsStep, and GiftedDialog components - Fix duplicate enum values in constants/app.ts for LOCAL_*_API_SERVER - Replace Record<string, any> with Record<string, string> for query params - Update error handling from catch(err: any) to catch(err: unknown) - Add EntityData interface and fix entity prop typing - Remove USE_DEXIE_DB conditionals and unused database imports - Fix duplicate imports and class members in GiftedDialog.vue - Correct createAndSubmitGive function call parameters Resolves 12 linting errors and 9 TypeScript any type warnings. Improves type safety, logging practices, and removes deprecated code.
This commit is contained in:
@@ -104,7 +104,9 @@
|
||||
|
||||
<div class="mt-4 sm:flex justify-between gap-2">
|
||||
<!-- First Column for Giver -->
|
||||
<div class="sm:flex-grow sm:w-1/2 border border-slate-400 p-2 rounded-md overflow-hidden">
|
||||
<div
|
||||
class="sm:flex-grow sm:w-1/2 border border-slate-400 p-2 rounded-md overflow-hidden"
|
||||
>
|
||||
<div class="flex items-center">
|
||||
<input
|
||||
v-if="giverDid && !providedByProject"
|
||||
@@ -161,11 +163,16 @@
|
||||
</div>
|
||||
|
||||
<div class="sm:flex-shrink flex justify-center items-center my-1 sm:my-0">
|
||||
<font-awesome icon="arrow-right" class="fa-fw h-7 rotate-90 sm:rotate-0" />
|
||||
<font-awesome
|
||||
icon="arrow-right"
|
||||
class="fa-fw h-7 rotate-90 sm:rotate-0"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<!-- Third Column for Recipient -->
|
||||
<div class="sm:flex-grow sm:w-1/2 border border-slate-400 p-2 rounded-md overflow-hidden">
|
||||
<div
|
||||
class="sm:flex-grow sm:w-1/2 border border-slate-400 p-2 rounded-md overflow-hidden"
|
||||
>
|
||||
<div class="flex items-center">
|
||||
<input
|
||||
v-if="recipientDid && !givenToProject"
|
||||
|
||||
Reference in New Issue
Block a user