You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: listen-interface/src/components/PortfolioZeroState.tsx
+55-2Lines changed: 55 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,33 @@
1
+
import{useNavigate}from"@tanstack/react-router";
2
+
import{usePanel}from"../contexts/PanelContext";
3
+
import{useMobile}from"../contexts/MobileContext";
4
+
1
5
exportfunctionPortfolioZeroState(){
6
+
constnavigate=useNavigate();
7
+
const{ setActivePanel }=usePanel();
8
+
const{ isMobile }=useMobile();
9
+
10
+
consthandleGetStarted=()=>{
11
+
constonboardingPrompt="Hey Listen, let's get me onboarded with Solana and EVM wallets creation, also give me a brief rundown of the things we can do afterwards!";
12
+
13
+
// Navigate to chat with the onboarding message
14
+
navigate({
15
+
to: "/",
16
+
search: {
17
+
message: onboardingPrompt,
18
+
new: true,
19
+
},
20
+
});
21
+
22
+
// On mobile, close the portfolio panel to show chat
0 commit comments