Update home page and styles, add user API URL
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -93,7 +93,6 @@ export const HomePage = () => {
|
||||
|
||||
const handleLogin = useCallback(async () =>{
|
||||
//let appStart = getLocalStorage(StorageKeys.AppStart);
|
||||
alert('handleLogin');
|
||||
//if(!!appStart){
|
||||
if(false){
|
||||
useStore.getState().UserStore.resetUserInfo();
|
||||
@@ -150,12 +149,8 @@ export const HomePage = () => {
|
||||
useEffect(() => {
|
||||
// handleRequestToken();
|
||||
if (isNativeEnvironment) {
|
||||
alert('isNativeEnvironment');
|
||||
console.log('isNativeEnvironment');
|
||||
handleRequestToken();
|
||||
} else {
|
||||
alert('not isNativeEnvironment');
|
||||
console.log('not isNativeEnvironment');
|
||||
handleLogin();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user