Skip to content

Commit

Permalink
Rewrite router to NOT use CoffeeScript (#6041)
Browse files Browse the repository at this point in the history
* Rewrite router to not use CoffeeScript

* Change export code

Co-Authored-By: Jim O'Donnell <[email protected]>

Co-authored-by: Jim O'Donnell <[email protected]>
  • Loading branch information
shaunanoordin and eatyourgreens authored Nov 1, 2021
1 parent b405e93 commit 2c8bc70
Show file tree
Hide file tree
Showing 3 changed files with 312 additions and 304 deletions.
2 changes: 1 addition & 1 deletion app/main.cjsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ReactDOM = require 'react-dom'
apiClient = require 'panoptes-client/lib/api-client'
{ applyRouterMiddleware, Router, browserHistory } = require 'react-router'
useScroll = require 'react-router-scroll/lib/useScroll'
routes = require './router'
{ routes } = require './router'
style = require '../css/main.styl'
{ Provider } = require('react-redux')
initStore = require('./redux/init-store').default
Expand Down
303 changes: 0 additions & 303 deletions app/router.cjsx

This file was deleted.

Loading

0 comments on commit 2c8bc70

Please sign in to comment.