     if @restoredState
       @state.beatmaps = new Map(@state.beatmapsArray)
     else
-      optionsHash = BeatmapsetPageHash.parse currentUrl().hash
+      optionsHash = parse currentUrl().hash
 
       beatmaps = _.concat props.beatmapset.beatmaps, props.beatmapset.converts
       beatmaps = BeatmapHelper.group beatmaps

import * as React from 'react'
import { div } from 'react-dom-factories'
import * as BeatmapHelper from 'utils/beatmap-helper'
import * as BeatmapsetPageHash from 'utils/beatmapset-page-hash'
import { nextVal } from 'utils/seq'
import { currentUrl } from 'utils/turbolinks'
import { Header } from './header'



  setHash: =>
    setHash generate
      beatmap: @state.currentBeatmap


  tabHrefFunc: (mode) ->
    generate mode: mode
