|
|
@@ -1,18 +1,20 @@
|
|
|
import { Card } from "antd";
|
|
|
import { useIntl } from "react-intl";
|
|
|
+import { useParams } from "react-router-dom";
|
|
|
import SharedLinks from "../../../components/nut/users/NonSignInSharedLinks";
|
|
|
+import SignUp from "../../../components/nut/users/SignUp";
|
|
|
|
|
|
const Widget = () => {
|
|
|
const intl = useIntl();
|
|
|
+ const { token } = useParams(); //url 参数
|
|
|
|
|
|
return (
|
|
|
<Card
|
|
|
title={intl.formatMessage({
|
|
|
- id: "nut.users.sign-in.title",
|
|
|
+ id: "nut.users.sign-up.title",
|
|
|
})}
|
|
|
>
|
|
|
- sign up
|
|
|
- <br />
|
|
|
+ <SignUp token={token} />
|
|
|
<SharedLinks />
|
|
|
</Card>
|
|
|
);
|