mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-16 11:50:42 +08:00
Add key to each loop in project listing
Without a key we started to get an erratic behavior when adding more projects and then sorting them. Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
This commit is contained in:
@@ -5,13 +5,12 @@
|
||||
|
||||
import ActivityDiagram from "@app/components/ActivityDiagram.svelte";
|
||||
|
||||
export let activity: WeeklyActivity[];
|
||||
export let compact = false;
|
||||
export let description: string;
|
||||
export let head: string;
|
||||
export let id: string;
|
||||
export let name: string;
|
||||
|
||||
export let activity: WeeklyActivity[];
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
@@ -121,7 +121,7 @@
|
||||
|
||||
<div style:margin-bottom="5rem">
|
||||
<div style:margin-top="1rem">
|
||||
{#each projects as { project, activity }}
|
||||
{#each projects as { project, activity } (project.id)}
|
||||
<div style:margin-bottom="0.5rem">
|
||||
<Link
|
||||
route={{
|
||||
|
||||
Reference in New Issue
Block a user