Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Remove preloading

Manav Rathi531b4a4e402c
diff --git a/web/apps/cast/src/components/Slide.tsx b/web/apps/cast/src/components/Slide.tsx
index 9db8a3beb7..fed14a3c17 100644
--- a/web/apps/cast/src/components/Slide.tsx
+++ b/web/apps/cast/src/components/Slide.tsx
@@ -13,7 +13,7 @@ interface SlideViewProps {
* Also show {@link nextURL} in an hidden image view to prepare the browser for
* an imminent transition to it.
*/
-export const SlideView: React.FC<SlideViewProps> = ({ url, nextURL }) => {
+export const SlideView: React.FC<SlideViewProps> = ({ url }) => {
return (
<Container
style={{
@@ -30,14 +30,6 @@ export const SlideView: React.FC<SlideViewProps> = ({ url, nextURL }) => {
backdropFilter: "blur(10px)",
}}
>
- <img
- src={nextURL}
- style={{
- maxWidth: "100%",
- maxHeight: "100%",
- display: "none",
- }}
- />
<img
src={url}
decoding="sync"