Skip to content
Snippets Groups Projects
Commit 7a723299 authored by Lewis Liu's avatar Lewis Liu
Browse files

Refactored out redundant statements

parent afe88c47
No related branches found
No related tags found
No related merge requests found
......@@ -157,8 +157,7 @@ export const fetchCardData = createThunkAction(FETCH_CARD_DATA, function(card, d
result = await MetabaseApi.dataset(datasetQuery);
}
catch (error) {
clearTimeout(slowCardTimer);
return { dashcard_id: dashcard.id, card_id: card.id, result: { error } };
result = { error };
}
clearTimeout(slowCardTimer);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment