diff --git a/src/components/word-result/WordResult.tsx b/src/components/word-result/WordResult.tsx index 671075c..8fcbb57 100644 --- a/src/components/word-result/WordResult.tsx +++ b/src/components/word-result/WordResult.tsx @@ -32,22 +32,22 @@ const WordResult = ({ wordFound, wordNotFound }: Props) => { ))} {wordFound.map((wordFound, index) => ( - + {wordFound.meanings.map((meaning, index) => ( - + {meaning.partOfSpeech} {meaning.definitions.map((definition, index) => ( - - {definition.definition} + + {definition.definition} {definition.example && ( - - +
+ Example: - {definition.example} - + {definition.example} +
)}
))} diff --git a/src/layout/Layout.tsx b/src/layout/Layout.tsx index 991e01b..7c899ff 100644 --- a/src/layout/Layout.tsx +++ b/src/layout/Layout.tsx @@ -14,7 +14,7 @@ const Layout = () => { return ( <> - +
diff --git a/src/layout/SideBar.tsx b/src/layout/SideBar.tsx index 2bbf6eb..2c187ac 100644 --- a/src/layout/SideBar.tsx +++ b/src/layout/SideBar.tsx @@ -99,7 +99,8 @@ const SideBar = ({ isOpen }: Props) => { return (