Total Complexity | 1 |
Complexity/F | 1 |
Lines of Code | 14 |
Function Count | 1 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | import template from './sw-my-apps-error-page.html.twig'; |
||
2 | import './sw-my-apps-error-page.scss'; |
||
3 | |||
4 | const { Component } = Shopware; |
||
|
|||
5 | |||
6 | Component.register('sw-my-apps-error-page', { |
||
7 | template, |
||
8 | |||
9 | methods: { |
||
10 | goBack() { |
||
11 | this.$router.go(-1); |
||
12 | } |
||
13 | } |
||
14 | }); |
||
15 |
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.