style: lint the code

This commit is contained in:
sevichecc 2023-04-17 15:00:23 +08:00
parent 608c30a41d
commit fff1f02d8a
Signed by untrusted user who does not match committer: SevicheCC
GPG key ID: C577000000000000
3 changed files with 3 additions and 3 deletions

View file

@ -16,7 +16,7 @@ export default function ViewStatusCommand() {
useEffect(() => { useEffect(() => {
const getBookmark = async () => { const getBookmark = async () => {
try { try {
await getAccessToken(); await getAccessToken();
showToast(Toast.Style.Animated, "Loading Status...ε=ε=┌( >_<)┘"); showToast(Toast.Style.Animated, "Loading Status...ε=ε=┌( >_<)┘");
const status = await apiServer.fetchUserStatus(); const status = await apiServer.fetchUserStatus();
setStatus(status); setStatus(status);

View file

@ -52,7 +52,7 @@ export default function SimpleCommand(props: CommandProps) {
const init = async () => { const init = async () => {
try { try {
await getAccessToken(); await getAccessToken();
const fqn = await LocalStorage.getItem<string>("account-fqn") || ""; const fqn = (await LocalStorage.getItem<string>("account-fqn")) || "";
setState((prevState) => ({ setState((prevState) => ({
...prevState, ...prevState,
fqn: fqn, fqn: fqn,