Skip to content

Commit 6333fd7

Browse files
authored
Revert "fix: load images (#174)" (#188)
This reverts commit bf99fd6.
1 parent 9c705fb commit 6333fd7

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

Diff for: content/tutorial/01-svelte/07-lifecycle/01-onmount/README.md

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
title: onMount
33
---
44

5+
> The images in this exercise don't currently work. You can switch to the old tutorial instead: https://svelte.dev/tutorial/onmount
6+
57
Every component has a _lifecycle_ that starts when it is created, and ends when it is destroyed. There are a handful of functions that allow you to run code at key moments during that lifecycle.
68

79
The one you'll use most frequently is `onMount`, which runs after the component is first rendered to the DOM.

Diff for: content/tutorial/01-svelte/07-lifecycle/01-onmount/app-a/src/lib/App.svelte

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
{#each photos as photo}
99
<figure>
1010
<img
11-
crossorigin="anonymous"
1211
src={photo.thumbnailUrl}
1312
alt={photo.title}
1413
/>

Diff for: content/tutorial/01-svelte/07-lifecycle/01-onmount/app-b/src/lib/App.svelte

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
{#each photos as photo}
1818
<figure>
1919
<img
20-
crossorigin="anonymous"
2120
src={photo.thumbnailUrl}
2221
alt={photo.title}
2322
/>

0 commit comments

Comments
 (0)