From 9f4f83f383c5c10db0b46ed5d2c38ae69955b526 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zoe=CC=88=20Bijl?= Date: Mon, 20 Oct 2025 18:53:03 +0200 Subject: [PATCH] [chore] lint --- .../glitch/components/display_name.tsx | 19 ++++++++++--------- .../features/local_settings/page/index.jsx | 2 +- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/app/javascript/flavours/glitch/components/display_name.tsx b/app/javascript/flavours/glitch/components/display_name.tsx index 5a45554d1..bfd33a2a7 100644 --- a/app/javascript/flavours/glitch/components/display_name.tsx +++ b/app/javascript/flavours/glitch/components/display_name.tsx @@ -3,11 +3,12 @@ import React from "react"; import classNames from "classnames"; -import { type List } from "immutable"; import ImmutablePropTypes from "react-immutable-proptypes"; import ImmutablePureComponent from "react-immutable-pure-component"; -import { type Account } from "flavours/glitch/types/resources"; +import { type List } from "immutable"; + +import { type Account } from "flavours/glitch/types/resources"; import { autoPlayGif } from "../initial_state"; @@ -81,7 +82,7 @@ export class DisplayName extends ImmutablePureComponent { .map((a) => ( @@ -101,25 +102,25 @@ export class DisplayName extends ImmutablePureComponent { displayName = ( ); - suffix = @{acct}; + suffix = @{acct}; } else { displayName = ( - - + + ); suffix = ( - - + + ); } diff --git a/app/javascript/flavours/glitch/features/local_settings/page/index.jsx b/app/javascript/flavours/glitch/features/local_settings/page/index.jsx index 1ea400564..dc3bc74bc 100644 --- a/app/javascript/flavours/glitch/features/local_settings/page/index.jsx +++ b/app/javascript/flavours/glitch/features/local_settings/page/index.jsx @@ -213,7 +213,7 @@ class LocalSettingsPage extends PureComponent { { value: "display", message: intl.formatMessage(messages.namelayout_display) }, { value: "handle", message: intl.formatMessage(messages.namelayout_handle) }, { value: "both_y", message: intl.formatMessage(messages.namelayout_both_y) }, - { value: "both_x", message: intl.formatMessage(messages.namelayout_both_x) } + { value: "both_x", message: intl.formatMessage(messages.namelayout_both_x) }, ]} >