Conversation
Lunaria Status Overview🌕 This pull request will trigger status changes. Learn moreBy default, every PR changing files present in the Lunaria configuration's You can change this by adding one of the keywords present in the Tracked Files
Warnings reference
|
|
Preview deployment ✅ Deployment complete!
|
morinokami
left a comment
There was a problem hiding this comment.
こちらレビューが遅れてしまってすみません!ほとんど問題なさそうだったのですが、一点だけ気付いたためこちら確認をお願いします 🙏
| </script> | ||
| ``` | ||
|
|
||
| ブラウザのAPIに依存しているため、クライアント側で`prefetch()`だけをインポートするようにしてください。 |
There was a problem hiding this comment.
こちら、原文は
Make sure to only import
prefetch()in client-side scripts as it relies on browser APIs.
となっており、「prefetch()だけをインポートしてほしい」ではなく「クライアントサイドでのみprefetch()をインポートしてほしい」というのが意図かなと思いました(only の係り先の問題)。なので以下のような感じはどうでしょうか(scripts というのも一応訳してみました):
| ブラウザのAPIに依存しているため、クライアント側で`prefetch()`だけをインポートするようにしてください。 | |
| ブラウザのAPIに依存しているため、クライアント側のスクリプト内でのみ`prefetch()`をインポートするようにしてください。 |
Description
This PR is based on the following file:
https://github.com/withastro/docs/commits/main/src/content/docs/en/guides/prefetch.mdx
I'd appreciate it if you could review this when you have time 🫡