mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
fix: modify only when needed
This commit is contained in:
1 parent
94e8a07f90
commit
7becb7b6ad
1 file changed
+3
-1
@@ -17,7 +17,9 @@ export function Page({
|
||||
}: Props & MaybeSkeletonComponentProps) {
|
||||
const generated = Playlist.use((state) => state.list !== undefined);
|
||||
|
||||
if (App.state.logins.wargaming) TankFilters.state.ownership = "owned";
|
||||
if (App.state.logins.wargaming && TankFilters.state.ownership !== "owned") {
|
||||
TankFilters.state.ownership = "owned";
|
||||
}
|
||||
|
||||
return (
|
||||
<LocaleProvider locale={locale}>
|
||||
|
||||
Reference in new issue
Block a user