Modal repost #7341

Merged
bradley-ray merged 7 commits from modal-repost into master 2021-12-12 07:03:00 +01:00
2 changed files with 4 additions and 6 deletions
Showing only changes of commit a53338191e - Show all commits

View file

@ -43,9 +43,9 @@ type Props = {
fetchingMyChannels: boolean,
incognito: boolean,
contentUri: string,
setContentUri: () => void,
setContentUri: (string) => void,
repostUri: string,
setRepostUri: () => void,
setRepostUri: (string) => void,
isModal: boolean,
redirectUri?: string,
};
@ -73,10 +73,9 @@ function RepostCreate(props: Props) {
doHideModal,
contentUri,
setContentUri,
repostUri,
setRepostUri,
isModal,
redirectUri
redirectUri,
} = props;
const defaultName = name || (claim && claim.name) || '';
@ -308,7 +307,6 @@ function RepostCreate(props: Props) {
}
}
function cancelIt() {
doClearRepostError();
if (isModal) {

View file

@ -48,7 +48,7 @@ import PasswordSetPage from 'page/passwordSet';
import PublishPage from 'page/publish';
import ReportContentPage from 'page/reportContent';
import ReportPage from 'page/report';
import RepostNew from 'page/repost'
import RepostNew from 'page/repost';
import SearchPage from 'page/search';
import SettingsCreatorPage from 'page/settingsCreator';