shorter error message, remove ES6 template string

pull/964/head
Rich Harris 7 years ago
parent d479224067
commit e3836dab46

@ -53,7 +53,7 @@ assign(Store.prototype, {
function visit(key) {
if (cycles[key]) {
throw new Error(`Cyclical dependency detected — a computed property cannot indirectly depend on itself`);
throw new Error('Cyclical dependency detected');
}
if (visited[key]) return;

Loading…
Cancel
Save