experimental css changes
This commit is contained in:
@@ -3,7 +3,7 @@ import type { Card } from '~/netcode/Card';
|
||||
|
||||
|
||||
export interface Props {
|
||||
data?: Card | null
|
||||
data: Card | null | undefined
|
||||
locked?: boolean
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@ const buttonsElement = ref<HTMLElement | null>(null)
|
||||
const rightClicked = ref(false)
|
||||
|
||||
function cardClick() {
|
||||
if (props.data == null) return
|
||||
if (!props.data) return
|
||||
emit("click")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user