put the refresh in the finally block since the bin was being refreshed before that changes had occured
This commit is contained in:
parent
72190cb50d
commit
7b6dd72b90
2 changed files with 6 additions and 3 deletions
|
|
@ -266,6 +266,7 @@ export default function Bin(props: Props) {
|
|||
// }))
|
||||
|
||||
const load = useCallback(() => {
|
||||
console.log(loadRef.current)
|
||||
if (loadRef.current || user.id() === "") return;
|
||||
setBinLoading(true);
|
||||
loadRef.current = true;
|
||||
|
|
@ -1126,7 +1127,7 @@ export default function Bin(props: Props) {
|
|||
};
|
||||
|
||||
return (
|
||||
<PageContainer padding={1}>
|
||||
<PageContainer spacing={1}>
|
||||
{showPlenumError()}
|
||||
<Box
|
||||
paddingBottom={isMobile || displayMobile ? 1 : 2}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue