@ -1,7 +1,7 @@
<script>
import { onMount } from "svelte"
import api from "../../api"
import getTable from "./tableCache"
import { getTable } from "./tableCache"
export let columnName
export let row
@ -8,7 +8,7 @@ async function fetchTable(id) {
return await response.json()
}
export default async function getTable(tableId) {
export async function getTable(tableId) {
if (!tableId) {
return null