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