diff --git a/src/components/Emoji.jsx b/src/components/Emoji.jsx
new file mode 100644
index 0000000..9a6065f
--- /dev/null
+++ b/src/components/Emoji.jsx
@@ -0,0 +1,7 @@
+export function Emoji({ children, label }) {
+ return (
+
+ {children}
+
+ );
+}
diff --git a/src/components/index.js b/src/components/index.js
index f2a2d77..6944384 100644
--- a/src/components/index.js
+++ b/src/components/index.js
@@ -3,3 +3,4 @@ export * from './SingleList';
export * from './Dialog';
export * from './AddItem';
export * from './SortedItemsMap';
+export * from './Emoji';
diff --git a/src/views/About.jsx b/src/views/About.jsx
index cbedf17..aef13dc 100644
--- a/src/views/About.jsx
+++ b/src/views/About.jsx
@@ -1,14 +1,7 @@
+import { Emoji } from '../components';
import './About.css';
export function About() {
- function Emoji({ children, label }) {
- return (
-
- {children}
-
- );
- }
-
return (
<>
diff --git a/src/views/Layout.jsx b/src/views/Layout.jsx
index 0d8e25c..5271dae 100644
--- a/src/views/Layout.jsx
+++ b/src/views/Layout.jsx
@@ -1,6 +1,6 @@
import { Outlet, NavLink } from 'react-router-dom';
import { useAuth, SignInButton, SignOutButton } from '../api/useAuth.jsx';
-
+import { Emoji } from '../components';
import './Layout.css';
import { auth } from '../api/config.js';
@@ -39,11 +39,8 @@ export function Layout() {