mirror of
https://gitlab.com/MrFry/qmining-page
synced 2026-04-28 03:07:36 +02:00
refactors, dynamic constants (lol)
This commit is contained in:
+13
-10
@@ -8,7 +8,7 @@ import UpDownVote from '../components/upDownVote'
|
||||
import Header from '../components/header'
|
||||
|
||||
import styles from './userfiles.module.css'
|
||||
import constants from '../constants.json'
|
||||
import constants from '../constants'
|
||||
|
||||
function vote(to, item) {
|
||||
return new Promise((resolve, reject) => {
|
||||
@@ -382,7 +382,11 @@ export default function UserFiles({
|
||||
<div className={`${styles.tableContainer} ${styles.rows}`}>
|
||||
{currDir && (
|
||||
<div
|
||||
style={{ height: 40, justifyContent: "center", display: "flex" }}
|
||||
style={{
|
||||
height: 40,
|
||||
justifyContent: 'center',
|
||||
display: 'flex',
|
||||
}}
|
||||
onClick={() => {
|
||||
goBack()
|
||||
}}
|
||||
@@ -482,13 +486,14 @@ export default function UserFiles({
|
||||
onClick={(e) => {
|
||||
e.stopPropagation()
|
||||
}}
|
||||
className={'userId'}>
|
||||
className={'userId'}
|
||||
>
|
||||
{`#${user}`}
|
||||
</Link>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
)
|
||||
})}
|
||||
</>
|
||||
) : (
|
||||
@@ -513,7 +518,7 @@ export default function UserFiles({
|
||||
<LoadingIndicator />
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
)
|
||||
}
|
||||
|
||||
return (
|
||||
@@ -535,10 +540,8 @@ export default function UserFiles({
|
||||
vállalás nincs.
|
||||
</b>{' '}
|
||||
Ha valami nem idevalót látsz, azt a{' '}
|
||||
<Link href="/contact">
|
||||
Kapcsolat
|
||||
</Link>{' '}
|
||||
oldalon jelezd kérlek. Tudatos károkozásért ban jár.
|
||||
<Link href="/contact">Kapcsolat</Link> oldalon jelezd kérlek. Tudatos
|
||||
károkozásért ban jár.
|
||||
</div>
|
||||
)}
|
||||
<hr />
|
||||
@@ -602,5 +605,5 @@ export default function UserFiles({
|
||||
</Modal>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user