Skip to content

Commit

Permalink
Fix clear chat
Browse files Browse the repository at this point in the history
  • Loading branch information
Janaka-Steph committed Nov 8, 2023
1 parent 57b6512 commit 95f7150
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/modules/prem-chat/components/PremChatSidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,14 +119,14 @@ const PremChatSidebar = ({
<div className="border-t border-timberwolf opacity-30 -mx-2 pt-[13px] max-md:hidden"></div>
{filteredHistory.length > 0 && (
<li>
<Link to={`/prem-chat/${serviceId}`} onClick={onClearClick}>
<Link to={`/prem-chat/${serviceId}/${serviceType}`} onClick={onClearClick}>
<img src={binRed} alt="bin" className="mr-3 max-w-[20px]" />
<span className="text-white">Clear Chat</span>
</Link>
</li>
)}
<li>
<Link to={`/prem-chat/${serviceId}`} onClick={openModal}>
<Link to={`/prem-chat/${serviceId}/${serviceType}`} onClick={openModal}>
<img
src={exportData}
alt="exportData"
Expand All @@ -138,7 +138,7 @@ const PremChatSidebar = ({
</Link>
</li>
<li>
<Link to={`/prem-chat/${serviceId}`} onClick={openModal}>
<Link to={`/prem-chat/${serviceId}/${serviceType}`} onClick={openModal}>
<img
src={importData}
alt="importData"
Expand Down

0 comments on commit 95f7150

Please sign in to comment.