Fix TypeScript errors in Home.vue
- Add type assertions for event.target in mouseover/mouseout handlers - Fixes vue-tsc compilation errors during Docker build
This commit is contained in:
parent
7583712730
commit
790fe8a48a
1 changed files with 4 additions and 4 deletions
|
|
@ -117,8 +117,8 @@ const subscribe = async () => {
|
|||
@click="subscribe"
|
||||
class="px-6 py-3 rounded-lg font-semibold text-white transition-colors"
|
||||
style="background-color: #6b9080;"
|
||||
@mouseover="$event.target.style.backgroundColor = '#5a8070'"
|
||||
@mouseout="$event.target.style.backgroundColor = '#6b9080'"
|
||||
@mouseover="($event.target as HTMLElement).style.backgroundColor = '#5a8070'"
|
||||
@mouseout="($event.target as HTMLElement).style.backgroundColor = '#6b9080'"
|
||||
>
|
||||
Subscribe to Updates
|
||||
</button>
|
||||
|
|
@ -199,8 +199,8 @@ const subscribe = async () => {
|
|||
@click="openDocument(doc, $event)"
|
||||
class="inline-block px-4 py-2 rounded-lg text-white font-semibold mr-2 mb-2 transition-colors"
|
||||
style="background-color: #6b9080;"
|
||||
@mouseover="$event.target.style.backgroundColor = '#5a8070'"
|
||||
@mouseout="$event.target.style.backgroundColor = '#6b9080'"
|
||||
@mouseover="($event.target as HTMLElement).style.backgroundColor = '#5a8070'"
|
||||
@mouseout="($event.target as HTMLElement).style.backgroundColor = '#6b9080'"
|
||||
>
|
||||
📄 {{ doc.title }}
|
||||
</button>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue