mirror of
https://gitlab.com/MrFry/qmining-page
synced 2025-04-01 20:23:44 +02:00
allquestions db query fix
This commit is contained in:
parent
730c0d4058
commit
c16015a339
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ export default function AllQuestions({ router }) {
|
||||||
}, [])
|
}, [])
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
const db = router.query.question ? decodeURIComponent(router.query.db) : ''
|
const db = router.query.db ? decodeURIComponent(router.query.db) : ''
|
||||||
|
|
||||||
if (db) {
|
if (db) {
|
||||||
setSelectedDb(db)
|
setSelectedDb(db)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue