@@ -55,7 +55,6 @@ const AppContent = ({ isToken }) => {
}
const CAppContent = connect(state => ({ isToken: state.auth?.token }))(AppContent)
-store.subscribe(() => console.log(store.getState()))
function App() {
return (
@@ -37,7 +37,7 @@ const EntityEditorPost = ({ match: { params: { _id } }, myID, entity, status, on
clearState()
clearStatus('sentPost')
- }, []);
+ }, [_id]);
useEffect(() => {