fix: don't get backups settings if there is no logged-in user (#842)
* fix: don't get backups settings if there is no logged-in user * chore: bump snjs version
This commit is contained in:
@@ -38,6 +38,9 @@ export const EmailBackups = observer(({ application }: Props) => {
|
||||
useState(false);
|
||||
|
||||
const loadEmailFrequencySetting = useCallback(async () => {
|
||||
if (!application.getUser()) {
|
||||
return;
|
||||
}
|
||||
setIsLoading(true);
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user