Skip to content

Commit 3323bcd

Browse files
committed
refactor: update chatbot links to point to /chatbot in Menu and PlansAndPayment components
1 parent dba8054 commit 3323bcd

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

next/components/molecules/Menu.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ function MenuDrawer({ userData, isOpen, onClose, links, hasChatbotAccess, isUser
203203
fontSize="20px"
204204
fontFamily="Roboto"
205205
fontWeight="400"
206-
href={hasChatbotAccess ? "/chatbot-streamlit" : "/prices"}
206+
href={hasChatbotAccess ? "/chatbot" : "/prices"}
207207
onClick={() => {
208208
onClose();
209209
if (hasChatbotAccess) {
@@ -391,7 +391,7 @@ function MenuDrawerUser({ userData, isOpen, onClose, isUserPro, haveInterprisePl
391391
gap="6px"
392392
color="#71757A"
393393
fontWeight="400"
394-
href={hasChatbotAccess ? "/chatbot-streamlit" : "/prices"}
394+
href={hasChatbotAccess ? "/chatbot" : "/prices"}
395395
onClick={() => {
396396
onClose()
397397
if (hasChatbotAccess) {
@@ -977,7 +977,7 @@ function DesktopLinks({
977977
{...(hasChatbotAccess
978978
? {
979979
as: "a",
980-
href: "/chatbot-streamlit",
980+
href: "/chatbot",
981981
target: "_blank",
982982
onClick: () =>
983983
trackMenuOpenChatbot({

next/components/organisms/componentsUserPage/PlansAndPayment.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1137,7 +1137,7 @@ export default function PlansAndPayment ({ userData }) {
11371137
</Button>
11381138
<Button
11391139
as="a"
1140-
href="/chatbot-streamlit"
1140+
href="/chatbot"
11411141
width={{ base: "100%", lg: "50%" }}
11421142
onClick={() => {
11431143
successCheckoutKindRef.current = null;
@@ -1697,7 +1697,7 @@ export default function PlansAndPayment ({ userData }) {
16971697
>
16981698
<Button
16991699
as="a"
1700-
href="/chatbot-streamlit"
1700+
href="/chatbot"
17011701
target="_blank"
17021702
rel="noopener noreferrer"
17031703
onClick={() =>

0 commit comments

Comments
 (0)