fix: Torsten's review cardContainer

This commit is contained in:
Arman committed 2023-04-11 12:42:01 +02:00
1 parent 9723965c6f
commit 0bc245b55f
1 file changed
+3 -1
+3 -1
View File
@@ -1,12 +1,14 @@
<script lang="ts">
import { page } from '$app/stores';
import { Empty } from '$lib/components';
import { CARD_LIMIT } from '$lib/constants';
import { preferences } from '$lib/stores/preferences';
export let offset = 0;
export let total = 0;
export let event: string = null;
let limit = CARD_LIMIT;
$: limit = preferences.get($page.route)?.limit ?? CARD_LIMIT;
</script>
<ul