From c3b05a72b7185112ece6e42c99e9a828c8298f04 Mon Sep 17 00:00:00 2001
From: Melonai <einebeere@gmail.com>
Date: Thu, 8 Jul 2021 23:29:20 +0200
Subject: State display for incoming and own requests

---
 assets/src/components/RequestPage.svelte | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

(limited to 'assets/src/components/RequestPage.svelte')

diff --git a/assets/src/components/RequestPage.svelte b/assets/src/components/RequestPage.svelte
index eb6b559..d8cf31d 100644
--- a/assets/src/components/RequestPage.svelte
+++ b/assets/src/components/RequestPage.svelte
@@ -1,21 +1,13 @@
 <script lang="ts">
-    import { start } from "../network/channel/connection";
-    import { startRequest } from "../network/channel/request";
-
     import Header from "./Header.svelte";
-
-    start().then(startRequest);
+    import RequestStatus from "./request/RequestStatus.svelte";
 </script>
 
 <Header color="white" />
 
 <main>
     <div class="left-segment">
-        <h1>Waiting for a response...</h1>
-        <p>
-            The share’s content will become available to you once the sharer
-            decides to accept your request.
-        </p>
+        <RequestStatus />
     </div>
     <div class="right-segment" />
 </main>
-- 
cgit 1.4.1

