mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-05 06:28:51 +00:00
working error handling
This commit is contained in:
1 parent
aeebec4a90
commit
9403edcb92
15 files changed
+267
-78
No files matched your search
@@ -0,0 +1,13 @@
|
||||
import { useRecoilState } from 'recoil';
|
||||
|
||||
import { messageState } from './state';
|
||||
|
||||
interface IUseAlerts {
|
||||
createMessageGroupResult: any;
|
||||
setCreateMessageGroupResult: any;
|
||||
}
|
||||
|
||||
export default (): IUseAlerts => {
|
||||
const [createMessageGroupResult, setCreateMessageGroupResult] = useRecoilState<any>(messageState.createMessageGroupResult)
|
||||
return { createMessageGroupResult, setCreateMessageGroupResult };
|
||||
}
|
||||
Reference in new issue
Block a user