mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-24 08:39:49 +00:00
chore: Refactoring all import directories to alias and all .js|.jsx renamed to be .ts|.tsx
This commit is contained in:
20
src/containers/Authentication/InviteAccept.tsx
Normal file
20
src/containers/Authentication/InviteAccept.tsx
Normal file
@@ -0,0 +1,20 @@
|
||||
import React from 'react';
|
||||
import { useParams } from 'react-router-dom';
|
||||
import InviteAcceptForm from './InviteAcceptForm';
|
||||
import AuthInsider from '@/containers/Authentication/AuthInsider';
|
||||
import { InviteAcceptProvider } from './InviteAcceptProvider';
|
||||
|
||||
/**
|
||||
* Authentication invite page.
|
||||
*/
|
||||
export default function Invite() {
|
||||
const { token } = useParams();
|
||||
|
||||
return (
|
||||
<AuthInsider>
|
||||
<InviteAcceptProvider token={token}>
|
||||
<InviteAcceptForm />
|
||||
</InviteAcceptProvider>
|
||||
</AuthInsider>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user