Skip to content

Commit 012f50b

Browse files
committed
Add unique key to menuitems
1 parent 19bf38f commit 012f50b

File tree

9 files changed

+28
-10
lines changed

9 files changed

+28
-10
lines changed

public/atom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<feed xmlns="http://www.w3.org/2005/Atom">
33
<id>https://xarray.dev/blog</id>
44
<title>Xarray Blog Feed</title>
5-
<updated>2025-05-04T15:18:07.732Z</updated>
5+
<updated>2025-05-04T22:57:44.322Z</updated>
66
<generator>https://github.com/jpmonette/feed</generator>
77
<link rel="alternate" href="https://xarray.dev/blog"/>
88
<link rel="self" href="https://xarray.dev/atom.xml"/>

public/rss.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title>Xarray Blog Feed</title>
55
<link>https://xarray.dev/blog</link>
66
<description>The latest news, insights, and practices about Xarray from the Xarray team</description>
7-
<lastBuildDate>Sun, 04 May 2025 15:18:07 GMT</lastBuildDate>
7+
<lastBuildDate>Sun, 04 May 2025 22:57:44 GMT</lastBuildDate>
88
<docs>https://validator.w3.org/feed/docs/rss2.html</docs>
99
<generator>https://github.com/jpmonette/feed</generator>
1010
<language>en</language>

src/components/language-switcher.js

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,17 @@ export const LanguageSwitcher = () => {
5353
</MenuButton>
5454
<MenuList>
5555
{getLocales().map((object) => (
56-
<Link href={'/' + object.locale + pathname} onClick={changeLocale}>
57-
<MenuItem as={Button} size='xs' command={object.locale}>
56+
<Link
57+
key={object.locale}
58+
href={'/' + object.locale + pathname}
59+
onClick={changeLocale}
60+
>
61+
<MenuItem
62+
key={object.locale}
63+
as={Button}
64+
size='xs'
65+
command={object.locale}
66+
>
5867
{object.label}
5968
</MenuItem>
6069
</Link>

src/locales/en/messages.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/locales/en/messages.po

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,12 +171,15 @@ msgstr "English"
171171
msgid "Example Gallery"
172172
msgstr "Example Gallery"
173173

174+
#: src/components/dashboard/timeline-plot-container.js:23
175+
msgid "failed to 3 load data"
176+
msgstr "failed to 3 load data"
177+
174178
#: src/components/ecosystem.js:32
175179
#: src/components/dashboard/timeseries-agg-stats-card.js:12
176180
msgid "failed to load"
177181
msgstr "failed to load"
178182

179-
#: src/components/dashboard/timeline-plot-container.js:23
180183
#: src/components/dashboard/project-metrics.js:17
181184
msgid "failed to load data"
182185
msgstr "failed to load data"

0 commit comments

Comments
 (0)