Skip to content

Commit 2157e61

Browse files
fix: wtf
1 parent e83f9c6 commit 2157e61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/bots/[id]/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const Modal = dynamic(() => import('@components/Modal'))
3737
const NSFW = dynamic(() => import('@components/NSFW'))
3838

3939
const Bots: NextPage<BotsProps> = ({ data, desc, date, user, theme, csrfToken }) => {
40-
const bg = checkBotFlag(data?.flags, 'trusted') && data?.banner
40+
const bg = checkBotFlag(data?.flags, 'trusted') && data?.bg
4141
const router = useRouter()
4242
const [nsfw, setNSFW] = useState<boolean>()
4343
const [reportModal, setReportModal] = useState(false)

0 commit comments

Comments
 (0)