Skip to content

Commit

Permalink
#6 code clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
motorina0 committed Jun 2, 2021
1 parent 48a6510 commit e5e8bf5
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 159 deletions.
39 changes: 0 additions & 39 deletions src/components/Bar.vue

This file was deleted.

5 changes: 0 additions & 5 deletions src/components/Foo.vue

This file was deleted.

90 changes: 0 additions & 90 deletions src/components/Layout.vue

This file was deleted.

2 changes: 1 addition & 1 deletion src/views/content-inject/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ try {
window.addEventListener("message", (e) => {
const data = e.data;
if (router.currentRoute.path === '/payment') {
router.replace('/foo')
router.replace('/loading')
}
setTimeout(() => {
router.replace({
Expand Down
10 changes: 0 additions & 10 deletions src/views/content-inject/routes.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,7 @@
import Foo from '../../components/Foo.vue'
import Bar from '../../components/Bar.vue'
import Loading from '../../components/Loading.vue'
import PayInvoice from '../../components/PayInvoice.vue'

const routes = [{
path: '/foo',
component: Foo
},
{
path: '/bar',
component: Bar
},
{
path: '/payment',
component: PayInvoice
},
Expand Down
14 changes: 0 additions & 14 deletions src/views/options/routes.js

This file was deleted.

0 comments on commit e5e8bf5

Please sign in to comment.