mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-06 17:11:55 +00:00
Format code.
This commit is contained in:
@@ -155,7 +155,7 @@ export function SpecialInputModal(props: SpecialProps) {
|
||||
status: {
|
||||
...client.user?.status,
|
||||
text: text.trim().length > 0 ? text : undefined,
|
||||
}
|
||||
},
|
||||
})
|
||||
}
|
||||
/>
|
||||
|
||||
@@ -256,7 +256,9 @@ export function SpecialPromptModal(props: SpecialProps) {
|
||||
question={<Text id={`app.context_menu.create_invite`} />}
|
||||
actions={[
|
||||
{
|
||||
children: <Text id="app.special.modals.actions.ok" />,
|
||||
children: (
|
||||
<Text id="app.special.modals.actions.ok" />
|
||||
),
|
||||
confirmation: true,
|
||||
onClick: onClose,
|
||||
},
|
||||
@@ -292,7 +294,9 @@ export function SpecialPromptModal(props: SpecialProps) {
|
||||
question={<Text id={`app.context_menu.kick_member`} />}
|
||||
actions={[
|
||||
{
|
||||
children: <Text id="app.special.modals.actions.kick" />,
|
||||
children: (
|
||||
<Text id="app.special.modals.actions.kick" />
|
||||
),
|
||||
contrast: true,
|
||||
error: true,
|
||||
confirmation: true,
|
||||
@@ -342,7 +346,9 @@ export function SpecialPromptModal(props: SpecialProps) {
|
||||
question={<Text id={`app.context_menu.ban_member`} />}
|
||||
actions={[
|
||||
{
|
||||
children: <Text id="app.special.modals.actions.ban" />,
|
||||
children: (
|
||||
<Text id="app.special.modals.actions.ban" />
|
||||
),
|
||||
contrast: true,
|
||||
error: true,
|
||||
confirmation: true,
|
||||
|
||||
Reference in New Issue
Block a user