Init
This commit is contained in:
19
src/OtherProfile.js
Normal file
19
src/OtherProfile.js
Normal file
@@ -0,0 +1,19 @@
|
||||
import React, { useState, useEffect } from 'react';
|
||||
import { useParams } from 'react-router-dom';
|
||||
import axios from 'axios';
|
||||
import Header from './Header';
|
||||
|
||||
const OtherProfile = () => {
|
||||
const { id } = useParams();
|
||||
const [user, setUser] = useState(null);
|
||||
const [error, setError] = useState('');
|
||||
|
||||
return (
|
||||
<><Header />
|
||||
<div className="">
|
||||
|
||||
</div></>
|
||||
);
|
||||
}
|
||||
|
||||
export default OtherProfile;
|
||||
Reference in New Issue
Block a user