pl-fe: Well, remove unused action?

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak
2024-10-20 13:23:14 +02:00
parent 72efcada65
commit 359aec346a

View File

@ -34,7 +34,6 @@ const PlFeLoad: React.FC<IPlFeLoad> = ({ children }) => {
const me = useAppSelector(state => state.me);
const { account } = useOwnAccount();
const swUpdating = useAppSelector(state => state.meta.swUpdating);
const { locale } = useLocale();
const [messages, setMessages] = useState<Record<string, string>>({});
@ -47,7 +46,6 @@ const PlFeLoad: React.FC<IPlFeLoad> = ({ children }) => {
me && !account,
!isLoaded,
localeLoading,
swUpdating,
].some(Boolean);
// Load the user's locale