Adds additional safeguards for edge cases, and improves theme coverage

This commit is contained in:
Alicia Sykes
2021-05-04 14:49:25 +01:00
parent 473639dd5e
commit 3aba7f23da
12 changed files with 149 additions and 16 deletions

11
src/utils/ErrorHandler.js Normal file
View File

@@ -0,0 +1,11 @@
/* eslint no-console: ["error", { allow: ["warn", "error"] }] */
/**
* Function called when an error happens
* If you wish to use an error logging service, put code for it here
*/
const ErrorHandler = function handler(msg) {
console.warn(msg);
};
export default ErrorHandler;