Skip to content
Snippets Groups Projects
Commit 5538c27d authored by Chloé JACOB's avatar Chloé JACOB :alien:
Browse files

quelques modifications

parent 8a394675
Branches
Tags
No related merge requests found
......@@ -13,7 +13,7 @@ const AddComment = ({ idPost }: commentProps) => {
const [comment, setComment] = useState('');
return (
<>
<div className="flex justify-center px-4 gap-4">
<div className="flex justify-center px-4 gap-4 pb-4">
<input
type="text"
value={comment}
......@@ -27,6 +27,7 @@ const AddComment = ({ idPost }: commentProps) => {
}
}}
className="border border-gray-400 p-2 rounded-md w-full"
placeholder="Ajouter un commentaire"
></input>
<button
onClick={() => {
......
......@@ -24,7 +24,9 @@ const Navbar = () => {
{/* HEADER */}
<div className="border-b-[0.8px] dark:text-white">
<div className="max-w-[1280px] mx-auto flex items-center justify-between px-4 py-2 h-16">
<h1 className="instalike_title text-[44px]">Instalike</h1>
<Link to="/feed">
<h1 className="instalike_title text-[44px]">Instalike</h1>
</Link>
<nav className="hidden sm:flex gap-5">
{/* HOME */}
<Link to="/feed">
......
......@@ -77,7 +77,7 @@ export const fetchDiscoverAsync = (): AppThunkAction<Promise<void>> => {
// Own posts for profile
export const fetchProfileAsync = (): AppThunkAction<Promise<void>> => {
return async (dispatch, getState, api) => {
const { data } = await api.users.me.posts.fetch({ cursor: null, amount: 20 });
const { data } = await api.users.me.posts.fetch({ cursor: null, amount: 50 });
dispatch(setUserFeed(data.items));
}
};
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment