Skip to content

Commit

Permalink
Merge pull request #440 from waldo-vision/imagenotfoundfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Huskydog9988 authored Jul 26, 2023
2 parents f90ef77 + 37bef2a commit 9b4c71b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apps/web/pages/submissions/review.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
useToast,
Spinner,
Tag,
Image as Img,
} from '@chakra-ui/react';
import { useState, useEffect, ReactElement } from 'react';
import { useRouter } from 'next/router';
Expand All @@ -17,7 +18,6 @@ import { prisma } from '@server/db/client';
import TurnstileWidget from '@components/TurnstileWidget';
import Finished from '@components/Finished';
import { getSession } from 'next-auth/react';
import Image from 'next/image';
import { games } from '@config/gameplay';
import { GameplayType } from '@utils/zod/gameplay';
interface ReviewItem {
Expand Down Expand Up @@ -193,7 +193,7 @@ export default function Review() {
<Flex direction={'row'}>
{/* User Icon */}
<Box>
<Image
<Img
src={
reviewItem != null &&
reviewItem.user != null &&
Expand All @@ -206,6 +206,7 @@ export default function Review() {
height={54}
style={{ borderRadius: '100%' }}
onClick={() => setRefreshState(refreshState + 1)}
fallbackSrc="https://waldo.vision/battle_net.png"
/>
</Box>
{/* Top titles */}
Expand Down

0 comments on commit 9b4c71b

Please sign in to comment.