From 20cc6f167078b339e3d63a1e2cb78ad7d12cd07f Mon Sep 17 00:00:00 2001 From: Mark A Shuttleworth <144485+MShuttle@users.noreply.github.com> Date: Thu, 1 Apr 2021 16:40:23 +1100 Subject: [PATCH] Update AudioPlayer.svelte In Tutorial 17 (a. svelte compiler is issuing a warning 'Media elements must have a ' child element. ![Screen Shot 2021-04-01 at 16 08 59](https://user-images.githubusercontent.com/144485/113248262-4a452900-9308-11eb-873f-dffe216cc919.png) I havent set up an environment to do testing. Sorry. Of course your chosen remedy would need to be applied to both the * app-a and, * app-b Thanks --- .../01-sharing-code/app-a/AudioPlayer.svelte | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/site/content/tutorial/17-module-context/01-sharing-code/app-a/AudioPlayer.svelte b/site/content/tutorial/17-module-context/01-sharing-code/app-a/AudioPlayer.svelte index 12d3a78c41..05b37fbb21 100644 --- a/site/content/tutorial/17-module-context/01-sharing-code/app-a/AudioPlayer.svelte +++ b/site/content/tutorial/17-module-context/01-sharing-code/app-a/AudioPlayer.svelte @@ -29,5 +29,7 @@ on:play={stopOthers} controls {src} - > - \ No newline at end of file + > + + +