Return an array rather than an object.
This commit is contained in:
1 parent
b1194ebd48
commit
00700c8651
2 files changed
+3
-3
No files matched your search
@@ -106,11 +106,11 @@ const useNotifications = () => {
|
||||
}
|
||||
};
|
||||
|
||||
return {
|
||||
return [
|
||||
loading,
|
||||
error,
|
||||
sendTestNotification
|
||||
};
|
||||
];
|
||||
};
|
||||
|
||||
export default useNotifications;
|
||||
Reference in new issue
Block a user