Use named export for tableCache

This commit is contained in:
Andrew Kingston 2020-10-15 12:21:30 +01:00
parent 9d8cbaedbb
commit edc11bf7bb
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
<script> <script>
import { onMount } from "svelte" import { onMount } from "svelte"
import api from "../../api" import api from "../../api"
import getTable from "./tableCache" import { getTable } from "./tableCache"
export let columnName export let columnName
export let row export let row

View File

@ -8,7 +8,7 @@ async function fetchTable(id) {
return await response.json() return await response.json()
} }
export default async function getTable(tableId) { export async function getTable(tableId) {
if (!tableId) { if (!tableId) {
return null return null
} }