mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-06-13 04:31:33 -05:00
fa backend fix
This commit is contained in:
parent
aa387b5129
commit
1752fb64c7
12
react-ui/src/components/freeagents/TextRows.js
vendored
12
react-ui/src/components/freeagents/TextRows.js
vendored
|
|
@ -17,7 +17,9 @@ const TextRows = ({ freeAgent }) => {
|
|||
</Table.Row>
|
||||
<Table.Row>
|
||||
<Table.Cell></Table.Cell>
|
||||
<Table.Cell colSpan={4}>{activity}</Table.Cell>
|
||||
<Table.Cell colSpan={4} style={{ whiteSpace: "pre-wrap" }}>
|
||||
{activity}
|
||||
</Table.Cell>
|
||||
</Table.Row>
|
||||
</>
|
||||
)}
|
||||
|
|
@ -31,7 +33,9 @@ const TextRows = ({ freeAgent }) => {
|
|||
</Table.Row>
|
||||
<Table.Row style={{ border: "0" }}>
|
||||
<Table.Cell></Table.Cell>
|
||||
<Table.Cell colSpan={4}>{past_experience}</Table.Cell>
|
||||
<Table.Cell colSpan={4} style={{ whiteSpace: "pre-wrap" }}>
|
||||
{past_experience}
|
||||
</Table.Cell>
|
||||
</Table.Row>
|
||||
</>
|
||||
)}
|
||||
|
|
@ -45,7 +49,9 @@ const TextRows = ({ freeAgent }) => {
|
|||
</Table.Row>
|
||||
<Table.Row>
|
||||
<Table.Cell></Table.Cell>
|
||||
<Table.Cell colSpan={4}>{looking_for}</Table.Cell>
|
||||
<Table.Cell colSpan={4} style={{ whiteSpace: "pre-wrap" }}>
|
||||
{looking_for}
|
||||
</Table.Cell>
|
||||
</Table.Row>
|
||||
</>
|
||||
)}
|
||||
|
|
|
|||
|
|
@ -151,12 +151,7 @@ const resolvers = {
|
|||
})
|
||||
|
||||
args.user = ctx.user
|
||||
await sendFAPostToDiscord(args).catch(error => {
|
||||
throw new UserInputError(
|
||||
"problem with Discord webhook. This means the post was added to the database but didn't get posted on Discord because: " +
|
||||
error.error
|
||||
)
|
||||
})
|
||||
sendFAPostToDiscord(args)
|
||||
|
||||
return true
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user