mirror of
https://github.com/theoludwig/theoludwig.git
synced 2025-05-29 22:37:44 +02:00
chore: usage of prettier, eslint and lint-staged instead of ts-standard
This commit is contained in:
@ -17,15 +17,11 @@ export const FormResult: React.FC<FormResultProps> = (props) => {
|
||||
|
||||
if (state === 'loading' || state === 'success') {
|
||||
return (
|
||||
<FormState state={state}>
|
||||
{t(`home:contact.result.${state}`)}
|
||||
</FormState>
|
||||
<FormState state={state}>{t(`home:contact.result.${state}`)}</FormState>
|
||||
)
|
||||
}
|
||||
|
||||
return (
|
||||
<FormState state='error'>
|
||||
{t(`home:contact.result.${state}`)}
|
||||
</FormState>
|
||||
<FormState state='error'>{t(`home:contact.result.${state}`)}</FormState>
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user