This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Image from 'next/image' | |
import React, { useEffect, useRef, useState } from 'react' | |
import MessagesBody from './messageBody' | |
import MessageForm from './messageForm' | |
import useChatStore from '@/stores/chatStore' | |
import { useGetBusinesses } from '@/hooks/useGetBusinesses' | |
export type MessageType = { | |
From: string, | |
Type: string, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { SectionItem } from '@/types/product_page/productType'; | |
import React from 'react'; | |
import CategoryCard from '../homepage/category/category_card'; | |
const CardGrid = ({ data }: { data: SectionItem }) => { | |
const { bg_color, text_color, heading, description, cards, type } = data; | |
return ( | |
<div | |
style={{ |