fix: Unstable t method causing stars.list to fetch run multiple times. Seems this behavior changed in the recent dep bump
This commit is contained in:
@@ -45,7 +45,7 @@ function Starred() {
|
||||
|
||||
React.useEffect(() => {
|
||||
fetchResults();
|
||||
}, [fetchResults]);
|
||||
}, []);
|
||||
|
||||
const handleShowMore = async () => {
|
||||
await fetchResults(displayedStarsCount);
|
||||
|
||||
@@ -103,7 +103,7 @@
|
||||
"fuzzy-search": "^3.2.1",
|
||||
"gemoji": "6.x",
|
||||
"http-errors": "2.0.0",
|
||||
"i18next": "^22.4.6",
|
||||
"i18next": "^22.4.8",
|
||||
"i18next-http-backend": "^2.1.1",
|
||||
"immutable": "^4.0.0",
|
||||
"inline-css": "^4.0.1",
|
||||
|
||||
@@ -8831,10 +8831,10 @@ i18next-parser@^7.1.0:
|
||||
vinyl-fs "^3.0.2"
|
||||
vue-template-compiler "^2.6.11"
|
||||
|
||||
i18next@^22.0.4, i18next@^22.4.6:
|
||||
version "22.4.6"
|
||||
resolved "https://registry.yarnpkg.com/i18next/-/i18next-22.4.6.tgz#876352c3ba81bdfedc38eeda124e2bbd05f46988"
|
||||
integrity sha512-9Tm1ezxWyzV+306CIDMBbYBitC1jedQyYuuLtIv7oxjp2ohh8eyxP9xytIf+2bbQfhH784IQKPSYp+Zq9+YSbw==
|
||||
i18next@^22.0.4, i18next@^22.4.8:
|
||||
version "22.4.8"
|
||||
resolved "https://registry.yarnpkg.com/i18next/-/i18next-22.4.8.tgz#7a3c5d26a93e8e5f32eee07b58484e2f721fb45b"
|
||||
integrity sha512-XSOy17ZWqflOiJRYE/dzv6vDle2Se32dnHREHb93UnZzZ1+UnvQ8yKtt1fpNL3zvXz5AwCqqixrtTVZmRetaiQ==
|
||||
dependencies:
|
||||
"@babel/runtime" "^7.20.6"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user