Skip to content

Commit

Permalink
Fix links to the Todo List (Signals) example (#1232)
Browse files Browse the repository at this point in the history
In this commit, we are fixing the link that should take users to the
Todo List (Signals) example:
https://preactjs.com/repl?example=todo-signals

The same link was fixed in three different locales: en, ru and zh.
  • Loading branch information
nicolasiensen authored Feb 7, 2025
1 parent 35e4079 commit b608359
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion content/en/guide/v10/signals.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ function TodoList() {
}
```

And with that we have a fully working todo app! You can try out the full app [over here](/repl?example=todo-list-signals) :tada:
And with that we have a fully working todo app! You can try out the full app [over here](/repl?example=todo-signals) :tada:

## Deriving state via computed signals

Expand Down
4 changes: 2 additions & 2 deletions content/ru/guide/v10/signals.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ function TodoList() {
}
```

И теперь у нас есть полностью работающее приложение todo! Вы можете опробовать полную версию приложения [здесь](/repl?example=todo-list-signals) :tada:
И теперь у нас есть полностью работающее приложение todo! Вы можете опробовать полную версию приложения [здесь](/repl?example=todo-signals) :tada:

## Получение состояния с помощью вычисляемых сигналов

Expand Down Expand Up @@ -559,4 +559,4 @@ effect(() => {
console.log(`${name.value} ${surname.value}`)
})
})
```
```
2 changes: 1 addition & 1 deletion content/zh/guide/v10/signals.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ function TodoList() {
}
```

这样我们就有了一个完全可用的待办事项应用程序!您可以[在这里](/repl?example=todo-list-signals)尝试完整的应用程序 :tada:
这样我们就有了一个完全可用的待办事项应用程序!您可以[在这里](/repl?example=todo-signals)尝试完整的应用程序 :tada:

## 使用计算信号驱动状态

Expand Down

0 comments on commit b608359

Please sign in to comment.