Added timezone and default date range settings.
This commit is contained in:
9
hooks/useForceUpdate.js
Normal file
9
hooks/useForceUpdate.js
Normal file
@@ -0,0 +1,9 @@
|
||||
import { useCallback, useState } from 'react';
|
||||
|
||||
export default function useForceUpdate() {
|
||||
const [, update] = useState(Object.create(null));
|
||||
|
||||
return useCallback(() => {
|
||||
update(Object.create(null));
|
||||
}, [update]);
|
||||
}
|
||||
Reference in New Issue
Block a user