fix: ws api
This commit is contained in:
parent
81c1bf7c88
commit
2095da05cd
@ -1,5 +1,4 @@
|
||||
import ReturnArrow from "@/assets/icons/svg/returnArrow.svg";
|
||||
import Chat from "@/components/ask/chat";
|
||||
import SendMessage from "@/components/ask/send";
|
||||
import { ThemedText } from "@/components/ThemedText";
|
||||
import { useWebSocketStreamHandler } from "@/hooks/useWebSocketStreamHandler";
|
||||
@ -9,7 +8,6 @@ import { useFocusEffect, useLocalSearchParams, useRouter } from "expo-router";
|
||||
import { useCallback, useEffect, useRef, useState } from 'react';
|
||||
import { useTranslation } from "react-i18next";
|
||||
import {
|
||||
Animated,
|
||||
FlatList,
|
||||
Keyboard,
|
||||
KeyboardAvoidingView,
|
||||
@ -252,6 +250,9 @@ export default function AskScreen() {
|
||||
</View>
|
||||
|
||||
<View style={styles.contentContainer}>
|
||||
<View>
|
||||
{process.env.EXPO_PUBLIC_WEBSOCKET_ENDPOINT}
|
||||
</View>
|
||||
{/* 欢迎页面 */}
|
||||
{/* <Animated.View
|
||||
style={[styles.absoluteView, welcomeStyle, { zIndex: 1 }]}
|
||||
@ -260,7 +261,7 @@ export default function AskScreen() {
|
||||
</Animated.View> */}
|
||||
|
||||
{/* 聊天页面 */}
|
||||
<Animated.View
|
||||
{/* <Animated.View
|
||||
style={[styles.absoluteView, chatStyle, { zIndex: 0 }]}
|
||||
>
|
||||
<Chat
|
||||
@ -274,7 +275,7 @@ export default function AskScreen() {
|
||||
showsVerticalScrollIndicator={false}
|
||||
// onContentSizeChange={() => scrollToEnd()}
|
||||
/>
|
||||
</Animated.View>
|
||||
</Animated.View> */}
|
||||
</View>
|
||||
|
||||
{/* 输入框区域 */}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user