Modal repost #7341
2 changed files with 4 additions and 6 deletions
|
@ -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) {
|
||||
|
|
|
@ -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';
|
||||
|
|
Loading…
Add table
Reference in a new issue