diff --git a/src/components/board-header/board-header.tsx b/src/components/board-header/board-header.tsx index 0227ac26..92bf4069 100644 --- a/src/components/board-header/board-header.tsx +++ b/src/components/board-header/board-header.tsx @@ -10,7 +10,7 @@ const totalBanners = 59; const ImageBanner = () => { const [imagePath] = useState(() => { const randomBannerIndex = Math.floor(Math.random() * totalBanners) + 1; - return `/assets/banners/banner-${randomBannerIndex}.jpg`; + return `assets/banners/banner-${randomBannerIndex}.jpg`; }); return ; diff --git a/src/components/catalog-row/catalog-row.tsx b/src/components/catalog-row/catalog-row.tsx index 15037c28..24f8d080 100644 --- a/src/components/catalog-row/catalog-row.tsx +++ b/src/components/catalog-row/catalog-row.tsx @@ -86,7 +86,7 @@ export const CatalogPostMedia = ({ commentMediaInfo, isOutOfFeed, linkWidth, lin return (
{!isLoaded && !hasError && type !== 'video' && type !== 'audio' && } - {hasError ? : thumbnailComponent} + {hasError ? : thumbnailComponent}
); }; @@ -223,7 +223,7 @@ const CatalogPost = ({ post }: { post: Comment }) => { > {threadIcons} {spoiler ? ( - + ) : ( )} diff --git a/src/components/comment-media/comment-media.tsx b/src/components/comment-media/comment-media.tsx index 2519b551..a21ad044 100644 --- a/src/components/comment-media/comment-media.tsx +++ b/src/components/comment-media/comment-media.tsx @@ -78,9 +78,9 @@ const Thumbnail = ({ commentMediaInfo, isFloatingEmbed, post, setShowThumbnail } const linkWithoutThumbnail = url && new URL(url); return hasError || isDeleted ? ( - File deleted + File deleted ) : spoiler ? ( - setShowThumbnail(false)} /> + setShowThumbnail(false)} /> ) : isOutOfFeed ? ( {thumbnailComponent} ) : isMobile || isReply ? ( diff --git a/src/components/post-desktop/post-desktop.tsx b/src/components/post-desktop/post-desktop.tsx index 87fbac12..d43814ae 100644 --- a/src/components/post-desktop/post-desktop.tsx +++ b/src/components/post-desktop/post-desktop.tsx @@ -86,12 +86,12 @@ const PostInfo = ({ openReplyModal, post, roles, isHidden }: PostProps) => { )} {pinned && ( - + )} {locked && ( - + )} {!isInPostView && !isReply && !isHidden && ( diff --git a/src/components/post-mobile/post-mobile.tsx b/src/components/post-mobile/post-mobile.tsx index e29da398..7a240157 100644 --- a/src/components/post-mobile/post-mobile.tsx +++ b/src/components/post-mobile/post-mobile.tsx @@ -58,12 +58,12 @@ const PostInfoAndMedia = ({ openReplyModal, post, roles }: PostProps) => { {!(isDescription || isRules) && (u/{shortAddress || accountShortAddress})} {pinned && ( - + )} {locked && ( - + )} {title && ( diff --git a/src/views/home/home.tsx b/src/views/home/home.tsx index 7bea538b..f314d16d 100644 --- a/src/views/home/home.tsx +++ b/src/views/home/home.tsx @@ -204,7 +204,7 @@ export const HomeLogo = () => { return (
- +
); diff --git a/src/views/not-found/not-found.tsx b/src/views/not-found/not-found.tsx index df52dfcd..79394bec 100644 --- a/src/views/not-found/not-found.tsx +++ b/src/views/not-found/not-found.tsx @@ -9,7 +9,7 @@ const totalNotFoundImages = 2; const NotFoundImage = () => { const [imagePath] = useState(() => { const randomBannerIndex = Math.floor(Math.random() * totalNotFoundImages) + 1; - return `/assets/not-found/not-found-${randomBannerIndex}.jpg`; + return `assets/not-found/not-found-${randomBannerIndex}.jpg`; }); return ;