From 502d5977d79148957828cbf313b7ef4c9f31973f Mon Sep 17 00:00:00 2001 From: Sam Potts Date: Sat, 11 Apr 2020 16:23:14 +1000 Subject: Converted to 2 space indentation --- src/js/utils/promise.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/js/utils/promise.js') diff --git a/src/js/utils/promise.js b/src/js/utils/promise.js index f45b46ab..4b59bba3 100644 --- a/src/js/utils/promise.js +++ b/src/js/utils/promise.js @@ -6,9 +6,9 @@ import is from './is'; * @param {Object} value An object that may or may not be `Promise`-like. */ export function silencePromise(value) { - if (is.promise(value)) { - value.then(null, () => {}); - } + if (is.promise(value)) { + value.then(null, () => {}); + } } export default { silencePromise }; -- cgit v1.2.3