Store files getting undefined when refreshing the browser,
<code>public getStateFile = (): StateFiles => {
return this.store.selectSnapshot(StateFileState).stateFile;
</code>
<code>public getStateFile = (): StateFiles => {
return this.store.selectSnapshot(StateFileState).stateFile;
</code>
public getStateFile = (): StateFiles => {
return this.store.selectSnapshot(StateFileState).stateFile;
};
this is the store operation for getting the state file,
<code> const stateFile = this.storeOp.getStateFile();
</code>
<code> const stateFile = this.storeOp.getStateFile();
</code>
const stateFile = this.storeOp.getStateFile();
this is the code I am retrieving the state file from the store, it is called in the ngOnInit() lifecycle hook