Skip to content

Commit

Permalink
try ph-no-capture on Share button, it doesn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentfretin committed Jun 14, 2024
1 parent 6d4ec32 commit 175b5c7
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import classNames from 'classnames';
import styles from './ScreenshotButton.module.scss';

import { Button } from '../Button';
Expand All @@ -16,11 +17,10 @@ class ScreenshotButton extends Component {
const onClick = () => Events.emit('openscreenshotmodal');
return (
<Button
className={styles.screenshotButton}
type="button"
variant="toolbtn"
className={classNames('ph-no-capture', styles.screenshotButton)}
onClick={onClick}
key="screenshotButton"
variant={'toolbtn'}
>
{ScreenshotIcon}
<div className={styles.innerText}>Share</div>
Expand Down

0 comments on commit 175b5c7

Please sign in to comment.