From 221c134bd383bfd443f55296890bc057049b6bd2 Mon Sep 17 00:00:00 2001
From: Furkan Sahin <furkan-dev@proton.me>
Date: Sun, 7 Aug 2022 18:55:46 -0500
Subject: Cleanup

---
 src/components/PeerTeachers.svelte | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src/components/PeerTeachers.svelte')

diff --git a/src/components/PeerTeachers.svelte b/src/components/PeerTeachers.svelte
index d7faf58..36efef1 100644
--- a/src/components/PeerTeachers.svelte
+++ b/src/components/PeerTeachers.svelte
@@ -32,7 +32,7 @@
   }
 
   function copyEmailsToClipboard() {
-    const emails = peerTeachers.flatMap((pt) => pt.email).join(",");
+    const emails = peer_teachers.flatMap((pt) => pt.email).join(",");
     navigator.clipboard.writeText(emails);
     if (snackbarSuccess) snackbarSuccess.open();
   }
@@ -62,7 +62,7 @@
           <th>
             {#if i == 0}
               <!-- display num PTs if first row -->
-              {peerTeachers.length}
+              {peer_teachers.length}
             {:else if header == "Email"}
               <div class="flex flex-row items-center">
                 {header}
@@ -81,7 +81,7 @@
     </thead>
 
     <tbody>
-      {#each peerTeachers as pt, i}
+      {#each peer_teachers as pt, i}
         <tr
           on:click={() => {
             selected_pt = pt;
-- 
cgit v1.2.3

