commit
09c83f74f3
1 changed files with 8 additions and 2 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue