Clear caches prior to loading to prevent title flashes

This commit is contained in:
Jori Lallo
2016-06-06 00:25:35 -07:00
parent bbab274338
commit 6b5f31077a
2 changed files with 2 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ const store = new class AtlasStore {
@action fetchAtlas = async (id) => {
this.isFetching = true;
this.atlas = null;
try {
const res = await client.post('/atlases.info', { id: id });

View File

@@ -12,6 +12,7 @@ const store = new class DocumentSceneStore {
@action fetchDocument = async (id) => {
this.isFetching = true;
this.document = null;
try {
const res = await client.post('/documents.info', { id: id });