diff --git a/src/pages/Messages.tsx b/src/pages/Messages.tsx index 6eb7406..86cc88f 100644 --- a/src/pages/Messages.tsx +++ b/src/pages/Messages.tsx @@ -2,7 +2,7 @@ import { Row } from '@/components'; import { Button } from '@/components/Button'; import { socket } from '@/socket'; import { useKindeAuth } from '@kinde-oss/kinde-auth-react'; -import { SendIcon } from 'lucide-react'; +import { PowerIcon, PowerOffIcon, SendIcon } from 'lucide-react'; import React, { useEffect, useState } from 'react'; type IMessage = { message: string; user: string }; @@ -38,10 +38,16 @@ export const Messages: React.FC = () => { return (
Is connected: {isConnected ? 'Yes' : 'No'}
+Socket connected: {isConnected ? 'Yes' : 'No'}