refactor(gui): Do not store logs in redux-persist (#476)

* refactor(gui): Do not store logs in redux-persist

* amend fmt
This commit is contained in:
Mohan 2025-07-23 22:13:56 +02:00 committed by GitHub
parent 18f1f45642
commit 65a3ebdbe2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 46 additions and 23 deletions

View file

@ -137,7 +137,7 @@ export function useActiveSwapInfo(): GetSwapInfoResponseExt | null {
export function useActiveSwapLogs() {
const swapId = useActiveSwapId();
const logs = useAppSelector((s) => s.rpc.logs);
const logs = useAppSelector((s) => s.logs.state.logs);
return useMemo(
() => logs.filter((log) => isCliLogRelatedToSwap(log, swapId)),