ADD login
This commit is contained in:
parent
d830f33e23
commit
941d005d6e
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -2,7 +2,7 @@ import { useState, useEffect } from 'react'
|
||||
import Auth from './Auth'
|
||||
import './App.css'
|
||||
|
||||
const API_URL = import.meta.env.VITE_API_URL || 'http://10.188.50.221:8000'
|
||||
const API_URL = import.meta.env.VITE_API_URL || 'http://localhost:8000'
|
||||
|
||||
const AVAILABLE_ICONS = [
|
||||
'📝', '💼', '🏠', '🛒', '🎯', '💪', '📚', '✈️',
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import { useState, useEffect } from 'react'
|
||||
import './Auth.css'
|
||||
|
||||
const API_URL = import.meta.env.VITE_API_URL || 'http://10.188.50.221:8000'
|
||||
const API_URL = import.meta.env.VITE_API_URL || 'http://localhost:8000'
|
||||
|
||||
function Auth({ onLogin }) {
|
||||
const [isLogin, setIsLogin] = useState(true)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user