diff --git a/res/decoder-ring/datatypes.js b/res/decoder-ring/datatypes.js index 93a779e079..73ab2173ca 100644 --- a/res/decoder-ring/datatypes.js +++ b/res/decoder-ring/datatypes.js @@ -18,7 +18,6 @@ * ``` */ - class Optional { static from(value) { return value && Some.of(value) || None; diff --git a/res/decoder-ring/decoder.js b/res/decoder-ring/decoder.js index b0cbd3c2e9..e677942277 100644 --- a/res/decoder-ring/decoder.js +++ b/res/decoder-ring/decoder.js @@ -102,7 +102,7 @@ function fetchAsSubject(endpoint) { const contentLength = res.headers.get("content-length"); const context = contentLength ? { length: parseInt(contentLength) } : {}; - const streamer = observeReadableStream(res.body, context, endpoint); + const streamer = observeReadableStream(res.body, context); streamer.subscribe((value) => { fetcher.next(value); }); diff --git a/res/decoder-ring/index.html b/res/decoder-ring/index.html index 0b47e2b44d..513d1e2d78 100644 --- a/res/decoder-ring/index.html +++ b/res/decoder-ring/index.html @@ -1,4 +1,5 @@ - + +
Set up Element on iOS or Android
-Set up Element on iOS or Android
+