+4
-7
src/App.tsx
+4
-7
src/App.tsx
···
1
1
import {
2
+
type Component,
2
3
createEffect,
3
4
createSignal,
4
5
For,
5
6
onMount,
6
7
Show,
7
-
type Component,
8
8
} from "solid-js";
9
9
import { createStore } from "solid-js/store";
10
10
···
98
98
99
99
if (lastSignedIn) {
100
100
try {
101
-
const session = await getSession(lastSignedIn as At.DID);
102
-
return session;
101
+
return await getSession(lastSignedIn as At.DID);
103
102
} catch (err) {
104
103
localStorage.removeItem("lastSignedIn");
105
104
throw err;
···
275
274
status: status,
276
275
status_label: status_label,
277
276
toDelete: false,
278
-
visible: status == RepoStatus.NONMUTUAL ? false : true,
277
+
visible: status != RepoStatus.NONMUTUAL,
279
278
});
280
279
}
281
280
setProgress(progress() + 1);
···
390
389
<input
391
390
type="checkbox"
392
391
class="peer sr-only"
393
-
checked={
394
-
option.status == RepoStatus.NONMUTUAL ? false : true
395
-
}
392
+
checked={option.status != RepoStatus.NONMUTUAL}
396
393
onChange={(e) =>
397
394
editRecords(
398
395
option.status,