From 877f2aa4cc5890214f0c58813c4b498f8be1236d Mon Sep 17 00:00:00 2001
From: Melonai <einebeere@gmail.com>
Date: Mon, 16 Aug 2021 15:55:55 +0200
Subject: Improve display of data

---
 assets/src/components/share/ShareStatus.svelte | 13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)

(limited to 'assets/src/components/share/ShareStatus.svelte')

diff --git a/assets/src/components/share/ShareStatus.svelte b/assets/src/components/share/ShareStatus.svelte
index 15d1ee9..7c22a04 100644
--- a/assets/src/components/share/ShareStatus.svelte
+++ b/assets/src/components/share/ShareStatus.svelte
@@ -5,6 +5,7 @@
         getStateStore,
     } from "../../network/channel/connection";
     import data from "../../stores/data";
+    import DataView from "../DataView.svelte";
     import DataSelector from "./DataSelector.svelte";
 
     let connection = getStateStore();
@@ -23,8 +24,7 @@
             Your share is available under: <br />
             rook.rnrd.eu/<span>{getOwnToken()}</span>
         </p>
-        <!-- TODO: Display actual data. -->
-        <div class="data">••••••••••••••••••••••••••••••</div>
+        <DataView />
     {:else}
         <p>Connecting to signaling server...</p>
     {/if}
@@ -34,13 +34,4 @@
     span {
         color: white;
     }
-
-    .data {
-        font-size: 14px;
-        width: 100%;
-        background-color: white;
-        color: black;
-        padding: 10px 20px;
-        box-sizing: border-box;
-    }
 </style>
-- 
cgit 1.4.1

