redirect to /signup for "my data" logged out case

This commit is contained in:
Brandon Thomas committed 2021-05-28 01:39:55 -04:00
1 parent 480212a3dc
commit 0c612ff303
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ function UploadChoiceFc(props: Props) {
let history = useHistory();
if (!props.sessionWrapper.isLoggedIn()) {
history.push('/');
history.push('/signup');
}
return (
+1 -1
View File
@@ -17,7 +17,7 @@ function UploadTtsModelFc(props: Props) {
const [titleInvalidReason, setTitleInvalidReason] = useState('')
if (!props.sessionWrapper.isLoggedIn()) {
history.push('/');
history.push('/signup');
}
const handleDownloadUrlChange = (ev: React.FormEvent<HTMLInputElement>) => {
+1 -1
View File
@@ -17,7 +17,7 @@ function UploadW2lPhotoFc(props: Props) {
const [titleInvalidReason, setTitleInvalidReason] = useState('')
if (!props.sessionWrapper.isLoggedIn()) {
history.push('/');
history.push('/signup');
}
const handleDownloadUrlChange = (ev: React.FormEvent<HTMLInputElement>) => {
+1 -1
View File
@@ -17,7 +17,7 @@ function UploadW2lVideoFc(props: Props) {
const [titleInvalidReason, setTitleInvalidReason] = useState('')
if (!props.sessionWrapper.isLoggedIn()) {
history.push('/');
history.push('/signup');
}
const handleDownloadUrlChange = (ev: React.FormEvent<HTMLInputElement>) => {