Skip to content

Commit

Permalink
Remove unused function from app.js
Browse files Browse the repository at this point in the history
  • Loading branch information
wigginno committed Aug 22, 2024
1 parent 03cc3d6 commit b2ae6b7
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,6 @@ import ViewRuns from './pages/ViewRuns'
import './assets/styles.css';
import logo from './assets/fogg_logo.png';

const getPublicUrl = () => {
if (window.electron) {
// We're in Electron
return window.electron.getAppPath();
} else {
// We're in a web browser (including GitHub Pages)
return process.env.PUBLIC_URL || '';
}
};

const App = () => {
return (
<Router>
Expand Down

0 comments on commit b2ae6b7

Please sign in to comment.