refactor: use composable for PocketBase instance in gameroom
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import PocketBase from 'pocketbase'
|
|
||||||
|
|
||||||
const pb = new PocketBase('http://localhost:8090')
|
const { pb } = usePocketbase()
|
||||||
|
|
||||||
type playfieldButton = {
|
type playfieldButton = {
|
||||||
id: number,
|
id: number,
|
||||||
|
|||||||
Reference in New Issue
Block a user