Skip to content

Commit

Permalink
Removed: user info component as added it for testing(#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
ymaheshwari1 committed Sep 4, 2023
1 parent db90371 commit 1d96a42
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 29 deletions.
24 changes: 0 additions & 24 deletions src/components/UserInfo.vue

This file was deleted.

1 change: 0 additions & 1 deletion src/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@ import '@ionic/vue/css/text-transformation.css';
import '@ionic/vue/css/flex-utils.css';
import '@ionic/vue/css/display.css';

export { default as UserInfo } from "./UserInfo.vue";
5 changes: 1 addition & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import Login from "./components/Login";
import ShopifyImg from "./components/ShopifyImg";
import { goToOms } from "./utils";
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
import { UserInfo } from "./components";

// TODO: handle cases when the store from app or pinia store are not available
// creating a pinia store for the plugin
Expand All @@ -27,7 +26,6 @@ export let dxpComponents = {

app.component('Login', Login)
app.component('ShopifyImg', ShopifyImg)
app.component('UserInfo', UserInfo)

loginContext.login = options.login
loginContext.logout = options.logout
Expand All @@ -49,6 +47,5 @@ export {
ShopifyImg,
goToOms,
appContext,
productIdentificationContext,
UserInfo
productIdentificationContext
}

0 comments on commit 1d96a42

Please sign in to comment.