Add support for password reset links
This commit is contained in:
parent
54cfe7e981
commit
4eeec58c59
12 changed files with 266 additions and 43 deletions
13
resources/scripts/components/NetworkErrorMessage.tsx
Normal file
13
resources/scripts/components/NetworkErrorMessage.tsx
Normal file
|
@ -0,0 +1,13 @@
|
|||
import * as React from 'react';
|
||||
import MessageBox from '@/components/MessageBox';
|
||||
|
||||
export default ({ message }: { message: string | undefined | null }) => (
|
||||
!message ?
|
||||
null
|
||||
:
|
||||
<div className={'mb-4'}>
|
||||
<MessageBox type={'error'} title={'Error'}>
|
||||
{message}
|
||||
</MessageBox>
|
||||
</div>
|
||||
);
|
Reference in a new issue