mirror of
https://gitlab.com/MrFry/qmining-page
synced 2025-04-01 20:23:44 +02:00
April update
This commit is contained in:
parent
4748c23769
commit
ce63911b68
18 changed files with 1046 additions and 253 deletions
|
@ -93,7 +93,6 @@ export default function RankList({ globalData, globalState, setGlobalState }) {
|
|||
const [ownEntryOnTop, setOwnEntryOnTop] = useState(false)
|
||||
|
||||
const getList = () => {
|
||||
console.log(globalState)
|
||||
setSum()
|
||||
setRanklist(null)
|
||||
if (globalState[`rankilst_${since}`]) {
|
||||
|
@ -106,7 +105,6 @@ export default function RankList({ globalData, globalState, setGlobalState }) {
|
|||
} else {
|
||||
getListFromServer(since)
|
||||
.then((data) => {
|
||||
console.log(since)
|
||||
const { list, sum, selfuserId } = data
|
||||
setRanklist(list || [])
|
||||
setSum(sum)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue