Unverified Commit 478c34bd authored by Diksha Thakur's avatar Diksha Thakur Committed by GitHub

fix: Footer consistently in loading state (#516)

* Added coponentDidUpdate method to footer

* Retaining lastIndexed value from prev state

* Undo retaining state in same reducer

* removing componentDidUpdate method

* Retaining last index value
parent 246e5f79
......@@ -309,7 +309,10 @@ export default function reducer(
},
};
case GetTableData.REQUEST:
return initialState;
return {
...initialState,
lastIndexed: state.lastIndexed,
};
case GetTableData.FAILURE:
return {
...state,
......
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