Fixed all type issues that were flagged in the IDE
This commit is contained in:
@@ -54,12 +54,12 @@ const { api } = useApi()
|
||||
const appSlug = computed(() => route.params.appSlug as string)
|
||||
const pageSlug = computed(() => route.params.pageSlug as string)
|
||||
|
||||
const pages = ref([])
|
||||
const page = ref(null)
|
||||
const records = ref([])
|
||||
const pages = ref<any[]>([])
|
||||
const page = ref<any>(null)
|
||||
const records = ref<any[]>([])
|
||||
const loading = ref(true)
|
||||
const loadingRecords = ref(false)
|
||||
const error = ref(null)
|
||||
const error = ref<string | null>(null)
|
||||
|
||||
const fetchPage = async () => {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user