Skip to content
This repository has been archived by the owner on May 12, 2022. It is now read-only.

Commit

Permalink
Changed .json to .js for ebconfig warning log
Browse files Browse the repository at this point in the history
  • Loading branch information
dilan-dio4 committed May 26, 2021
1 parent e2aa07f commit 132d78e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EasybaseProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const EasybaseProvider = ({ children, ebconfig, options }: EasybaseProviderProps
const _ranSignInCallback = useRef<boolean>(false);

if (typeof ebconfig !== 'object' || ebconfig === null || ebconfig === undefined) {
console.error("No ebconfig object passed. do `import ebconfig from \"ebconfig.json\"` and pass it to the Easybase provider");
console.error("No ebconfig object passed. do `import ebconfig from \"./ebconfig.js\"` and pass it to the Easybase provider");
return (
<Fragment>
{children}
Expand Down

0 comments on commit 132d78e

Please sign in to comment.