April update

This commit is contained in:
mrfry 2022-03-30 12:15:39 +02:00
parent 4748c23769
commit ce63911b68
18 changed files with 1046 additions and 253 deletions

View file

@ -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)