mirror of
https://github.com/binwiederhier/ntfy.git
synced 2024-11-30 11:16:55 +03:00
Add missing await
This commit is contained in:
parent
7083ed9f6b
commit
67b9d2eaf6
@ -24,7 +24,7 @@ class Prefs {
|
||||
}
|
||||
|
||||
async setDeleteAfter(deleteAfter) {
|
||||
this.db.prefs.put({ key: "deleteAfter", value: deleteAfter.toString() });
|
||||
await this.db.prefs.put({ key: "deleteAfter", value: deleteAfter.toString() });
|
||||
}
|
||||
|
||||
async deleteAfter() {
|
||||
|
@ -16,7 +16,8 @@ import {
|
||||
Tooltip,
|
||||
Typography,
|
||||
Box,
|
||||
IconButton, Button
|
||||
IconButton,
|
||||
Button,
|
||||
} from "@mui/material";
|
||||
import * as React from "react";
|
||||
import { useContext, useState } from "react";
|
||||
|
Loading…
Reference in New Issue
Block a user