Skip to content

Commit

Permalink
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions app/components/FileRow.js
Original file line number Diff line number Diff line change
@@ -3,14 +3,15 @@ import log from 'electron-log';
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { Link } from 'react-router-dom';
import { Popup, Button, Table, Icon } from 'semantic-ui-react';
import { Button, Table, Icon } from 'semantic-ui-react';
import { stages as stageUtils } from '@slippi/slippi-js';
import classNames from 'classnames';

import styles from './FileRow.scss';
import SpacedGroup from './common/SpacedGroup';
import PlayerChiclet from './common/PlayerChiclet';
import * as timeUtils from '../utils/time';
import Tooltip from './common/Tooltip';

const path = require('path');
const shell = require('electron').shell;
@@ -110,14 +111,10 @@ export default class FileRow extends Component {
{
label: 'File',
content:
<Popup
size="mini"
position="top center"
content="Open location"
trigger={
<button type="button" className={styles['reveal-file-location']} onClick={onFileLocationClick}>{this.getFileName()}</button>
}
/>,
<Tooltip
title="Open location">
<button type="button" className={styles['reveal-file-location']} onClick={onFileLocationClick}>{this.getFileName()}</button>
</Tooltip>,
},
];

0 comments on commit a49b9f3

Please sign in to comment.