()
| 44 | client.getQueryData<InAppNotification>(IN_APP_NOTIFICATION_KEY) || null, |
| 45 | }); |
| 46 | const hasNotification = (): boolean => |
| 47 | !!client.getQueryData(IN_APP_NOTIFICATION_KEY); |
| 48 | const setInAppNotification = (data: InAppNotification) => |
| 49 | client.setQueryData(IN_APP_NOTIFICATION_KEY, data); |
| 50 |