mirror of
https://github.com/koreanbots/core.git
synced 2025-12-15 06:10:22 +00:00
hotfix: wrong attribute on checking bg
This commit is contained in:
parent
b90fa8f11e
commit
f68da03eaf
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "koreanbots",
|
||||
"version": "2.8.8",
|
||||
"version": "2.9.2",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev",
|
||||
|
||||
@ -37,7 +37,7 @@ const Modal = dynamic(() => import('@components/Modal'))
|
||||
const NSFW = dynamic(() => import('@components/NSFW'))
|
||||
|
||||
const Bots: NextPage<BotsProps> = ({ data, desc, date, user, theme, csrfToken }) => {
|
||||
const bg = checkBotFlag(data?.flags, 'trusted') && data?.banner
|
||||
const bg = checkBotFlag(data?.flags, 'trusted') && data?.bg
|
||||
const router = useRouter()
|
||||
const [nsfw, setNSFW] = useState<boolean>()
|
||||
const [reportModal, setReportModal] = useState(false)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user