{ _t("Who are you working with?") }
{ _t("Make sure the right people have access to %(name)s", {
name: justCreatedOpts?.createOpts?.name || space.name,
}) }
{ onFinished(false); }}
>
{ _t("Just me") }
{ _t("A private space to organise your rooms") }
{ onFinished(true); }}
>
{ _t("Me and my teammates") }
{ _t("A private space for you and your teammates") }
;
};
const validateEmailRules = withValidation({
rules: [{
key: "email",
test: ({ value }) => !value || Email.looksValid(value),
invalid: () => _t("Doesn't look like a valid email address"),
}],
});
const SpaceSetupPrivateInvite = ({ space, onFinished }) => {
const [busy, setBusy] = useState(false);
const [error, setError] = useState("");
const numFields = 3;
const fieldRefs: RefObject