Added local timeline pagination
Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
parent
38cbb87a62
commit
25b7093302
3 changed files with 93 additions and 26 deletions
|
|
@ -2,7 +2,7 @@
|
|||
import { useState } from 'react';
|
||||
|
||||
export function useForceUpdate() {
|
||||
const [, setData] = useState(null);
|
||||
const [data, setData] = useState(null);
|
||||
|
||||
return () => setData({});
|
||||
return [data, () => setData({})];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue