group posts
This commit is contained in:
@@ -39,7 +39,7 @@ export const SearchInput: React.FC<searchInputProps> = ({
|
||||
>
|
||||
<input
|
||||
className={cn(
|
||||
'placeholder:text-liquid-light w-full bg-transparent outline-none text-liquid-white',
|
||||
'placeholder:text-liquid-light h-[28px] w-[200px] bg-transparent outline-none text-liquid-white ',
|
||||
)}
|
||||
value={value}
|
||||
name={name}
|
||||
@@ -53,7 +53,10 @@ export const SearchInput: React.FC<searchInputProps> = ({
|
||||
if (onKeyDown) onKeyDown(e);
|
||||
}}
|
||||
/>
|
||||
<img src={iconSearch} className=" absolute top-[8px] left-[16px]" />
|
||||
<img
|
||||
src={iconSearch}
|
||||
className=" absolute top-[8px] left-[16px] w-[24px] h-[24px]"
|
||||
/>
|
||||
</label>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -6,8 +6,6 @@ export default function ProtectedRoute() {
|
||||
const isAuthenticated = useAppSelector((state) => !!state.auth.jwt);
|
||||
const location = useLocation();
|
||||
|
||||
console.log('location', location);
|
||||
|
||||
if (!isAuthenticated) {
|
||||
return <Navigate to="/home/login" replace state={{ from: location }} />;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user