format(frontend): change line width to 100

This commit is contained in:
sam 2024-09-06 15:01:44 +02:00
parent fa71f3fb23
commit acc54a55bc
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
9 changed files with 43 additions and 84 deletions

View file

@ -32,11 +32,7 @@ export const loader: LoaderFunction = async ({ request }) => {
const user = await serverRequest<User>("GET", "/users/@me", { token });
meUser = user;
settings = await serverRequest<UserSettings>(
"GET",
"/users/@me/settings",
{ token },
);
settings = await serverRequest<UserSettings>("GET", "/users/@me/settings", { token });
} catch (e) {
// If we get an unauthorized error, clear the token, as it's not valid anymore.
if ((e as ApiError).code === ErrorCode.AuthenticationRequired) {