From 34b8c1f962a5c835351dc6f4369757259998af16 Mon Sep 17 00:00:00 2001
From: Akshay Nair <phenax5@gmail.com>
Date: Sat, 28 Sep 2024 22:19:31 +0530
Subject: Finish up app menu + fix drag interaction

---
 src/components/Clock.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/components/Clock.tsx')

diff --git a/src/components/Clock.tsx b/src/components/Clock.tsx
index 619a31b..f41a298 100644
--- a/src/components/Clock.tsx
+++ b/src/components/Clock.tsx
@@ -1,7 +1,7 @@
 import React, {useEffect, useMemo, useState} from 'react';
 import {Text, View} from 'react-native';
 
-export const Clock: React.FC = () => {
+export const Clock: React.FC = React.memo(() => {
   const [date, setDate] = useState(() => new Date());
   useEffect(() => {
     const interval = setInterval(() => {
@@ -34,4 +34,4 @@ export const Clock: React.FC = () => {
       <Text className="text-lg">{dateText}</Text>
     </View>
   );
-};
+});
-- 
cgit v1.3.1

