Justin Ridgewell 5df70e6a94 Fix bad Scope#parent caching (#6155)
* Fix bad Scope#parent caching

Now, we traverse the path until we find a parent scope.

Fixes #6057.

* Fix bad merge

* Remove cached data

* I need to stop using Github editor

* Fix infinite loops due to scopable paths being moved up
2017-09-02 01:03:10 -04:00

10 lines
192 B
JavaScript

import args from 'utils/url/args';
export default class App extends Component {
exportType = ''
componentDidMount() {
this.exportType = args.get('type', window.location.href);
}
}