Commit 9561cf54 authored by Jordan Frankfurt's avatar Jordan Frankfurt Committed by GitHub

don't overwrite localstorage lists when fetch throws (#2723)

parent 714953b5
...@@ -95,7 +95,7 @@ export default createReducer(initialState, (builder) => ...@@ -95,7 +95,7 @@ export default createReducer(initialState, (builder) =>
} }
state.byUrl[url] = { state.byUrl[url] = {
current: null, current: state.byUrl[url].current ? state.byUrl[url].current : null,
pendingUpdate: null, pendingUpdate: null,
loadingRequestId: null, loadingRequestId: null,
error: errorMessage, error: errorMessage,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment