浏览代码

created constants file.

Tomislav Cvetic 7 年之前
父节点
当前提交
e86f93c0e5
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 2
      src/App.js
  2. 1 0
      src/constants.js

+ 1 - 2
src/App.js

@@ -4,6 +4,7 @@ import Match from './match'         // Everything that has to do with matches
 import Excel from './excel'         // Helper files to create Excel files
 import { date2s, time2s } from './helpers'
 import 'bootstrap/dist/css/bootstrap.css'
+import { FILTER_OFF } from './constants'
 
 /**
  * General Application Design
@@ -36,8 +37,6 @@ import 'bootstrap/dist/css/bootstrap.css'
  *
  */
 
-const FILTER_OFF = 'Alle'
-
 /** Main application */
 class App extends React.Component {
   /**

+ 1 - 0
src/constants.js

@@ -0,0 +1 @@
+const FILTER_OFF = 'Alle'