+ Profil
Added Profile Updated Backend
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import React, { useContext, useEffect, useState } from 'react';
|
||||
import { useNavigate, Link } from 'react-router-dom';
|
||||
import axios from 'axios';
|
||||
import { UserContext } from '../context/UserContext';
|
||||
import { UserContext} from '../context/UserContext';
|
||||
import './home.css';
|
||||
|
||||
function Home({ isLoggedIn, setIsLoggedIn }) {
|
||||
@@ -27,7 +27,7 @@ function Home({ isLoggedIn, setIsLoggedIn }) {
|
||||
|
||||
return (
|
||||
<div className="container">
|
||||
<h2>Welcome to the Site</h2>
|
||||
<h2>Welcome to DND-Master</h2>
|
||||
{!isLoggedIn ? (
|
||||
<div className="button-group">
|
||||
<button className="btn" onClick={() => navigate('/login')}>Login</button>
|
||||
|
||||
Reference in New Issue
Block a user