Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
parent
0c0a978886
commit
38cbb87a62
21 changed files with 941 additions and 500 deletions
8
src/app/hooks/useForceUpdate.js
Normal file
8
src/app/hooks/useForceUpdate.js
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
/* eslint-disable import/prefer-default-export */
|
||||
import { useState } from 'react';
|
||||
|
||||
export function useForceUpdate() {
|
||||
const [, setData] = useState(null);
|
||||
|
||||
return () => setData({});
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue