diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 00000000..eaf4ae86 --- /dev/null +++ b/.eslintignore @@ -0,0 +1 @@ +src/pages/settings.svelte \ No newline at end of file diff --git a/src/lib/PostList.svelte b/src/lib/PostList.svelte index 5995a09c..dadb290d 100644 --- a/src/lib/PostList.svelte +++ b/src/lib/PostList.svelte @@ -191,8 +191,13 @@ if ($user.hide_blocked_users) { // @ts-ignore result = result.filter( + /* + * @type {import('./types.js').ListPost | import('./types.js').User} post + */ post => + // @ts-ignore $relationships[post._id] !== 2 && + // @ts-ignore $relationships[post.u] !== 2 ); } diff --git a/src/pages/_layout.svelte b/src/pages/_layout.svelte index 13961994..390bdce6 100644 --- a/src/pages/_layout.svelte +++ b/src/pages/_layout.svelte @@ -258,13 +258,6 @@ background-color: var(--background); } - .banner { - background-color: crimson; - margin: 0; - padding: 0.5em; - text-align: center; - } - :global(main.layout-old) .main-screen { flex-direction: column; } diff --git a/src/pages/settings.svelte b/src/pages/settings.svelte index cef1885d..273a2a5e 100644 --- a/src/pages/settings.svelte +++ b/src/pages/settings.svelte @@ -1,5 +1,7 @@ +