work on loading in character list data

This commit is contained in:
jmosrael@gmail.com
2024-05-04 06:10:55 +00:00
parent 14c346b717
commit 7e9e0d16b0
2 changed files with 7 additions and 4 deletions

View File

@@ -26,7 +26,6 @@
<script setup lang="ts">
import { onMounted, onCreated, ref } from 'vue'
import { Game, useGameStore } from '../store/gamestore'
import axios from 'axios'
let page = 1
@@ -46,6 +45,4 @@ async function previousPage() {
page--
games.value = await axios.post('/api/game', { page: `${page}`, count: '10', orderBy: 'id' })
}
// const games = useGameStore()
</script>