From b90e42276db8915da59c46110f61e0c72fa4938e Mon Sep 17 00:00:00 2001 From: rupalij11 Date: Sat, 24 Oct 2020 19:16:24 +0530 Subject: [PATCH] Fix issue with exception --- src/lib/instagram/Instagram.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/instagram/Instagram.js b/src/lib/instagram/Instagram.js index b4f5f5d..96f0419 100644 --- a/src/lib/instagram/Instagram.js +++ b/src/lib/instagram/Instagram.js @@ -40,7 +40,7 @@ const Instagram = ({ id, url, hideCaption, width, parentClass }) => { setinstaEmbed(result.html) }, (error) => { - console.throw(erorr); + console.throw(error); } ) } @@ -86,4 +86,4 @@ Instagram.defaultProps = { }; -export default Instagram; \ No newline at end of file +export default Instagram;