format(frontend): change line width to 100
This commit is contained in:
parent
fa71f3fb23
commit
acc54a55bc
9 changed files with 43 additions and 84 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue