Merge pull request #2106 from lbryio/copy

update copy - soon TM
This commit is contained in:
Sean Yesmunt 2018-11-14 14:53:16 -05:00 committed by GitHub
commit 09c83f74f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,7 @@
// @flow // @flow
import type { Claim, Metadata } from 'types/claim'; import type { Claim, Metadata } from 'types/claim';
import type { FileInfo } from 'types/file_info'; import type { FileInfo } from 'types/file_info';
import type { Node } from 'react';
import React, { Fragment, PureComponent } from 'react'; import React, { Fragment, PureComponent } from 'react';
import { Lbryio } from 'lbryinc'; import { Lbryio } from 'lbryinc';
import MarkdownPreview from 'component/common/markdown-preview'; import MarkdownPreview from 'component/common/markdown-preview';
@ -15,7 +16,7 @@ type Props = {
openFolder: string => void, openFolder: string => void,
contentType: string, contentType: string,
clickCommentButton: () => void, clickCommentButton: () => void,
showSnackBar: string => void, showSnackBar: Node => void,
hasClickedComment: boolean, hasClickedComment: boolean,
user: ?any, user: ?any,
}; };
@ -31,7 +32,12 @@ class FileDetails extends PureComponent<Props> {
clickCommentButton(); clickCommentButton();
Lbryio.call('user_tag', 'edit', { add: 'comments-waitlist' }); Lbryio.call('user_tag', 'edit', { add: 'comments-waitlist' });
showSnackBar(__('Thanks! Comments are coming soon(ish).')); showSnackBar(
<span>
{__('Thanks! Comments are coming soon')}
<sup>TM</sup>
</span>
);
} }
render() { render() {