UPDATE: Fix to stream/userpage routing, Added UserPage and Tidy to code;
Added ability to visit a user's profile page from their stream; Cleaned up code formatting, primarily changing from single quotes to double quotes; Removed unused SignupForm component;
This commit is contained in:
@@ -1,21 +1,16 @@
|
||||
import React from 'react'
|
||||
import React from "react";
|
||||
|
||||
interface ThumbnailProps {
|
||||
path: string;
|
||||
alt?: string;
|
||||
path: string;
|
||||
alt?: string;
|
||||
}
|
||||
|
||||
const Thumbnail = ({ path, alt }: ThumbnailProps) => {
|
||||
return (
|
||||
<div id='stream-thumbnail'>
|
||||
<img
|
||||
width={300}
|
||||
src={path}
|
||||
alt={alt}
|
||||
className="rounded-md"
|
||||
/>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
<div id="stream-thumbnail">
|
||||
<img width={300} src={path} alt={alt} className="rounded-md" />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Thumbnail
|
||||
export default Thumbnail;
|
||||
|
||||
Reference in New Issue
Block a user