mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-12-21 11:25:50 -05:00
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:
parent
18f1f45642
commit
65a3ebdbe2
9 changed files with 46 additions and 23 deletions
|
|
@ -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)),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue