Skip to content

Commit

Permalink
Remove back button from the first screen. Fix npm link for vue-cx-client
Browse files Browse the repository at this point in the history
  • Loading branch information
pkumar-strivve committed Oct 28, 2024
1 parent 254e4f4 commit f5252d3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/vue-cx-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"dev": "rm -rf ./node_modules/.vite && vite",
"build": "vue-tsc && vite build",
"preview": "vite preview"
},
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/component/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ function Header({ hideJob }: { hideJob?: boolean }) {
<div className="headerWrapper" css={appearance.elements?.headerWrapper}>
<div>
{core.state.mount !== StrivveCoreMount.INTRO &&
core.state.mount !== StrivveCoreMount.ACCOUNT_LINK && (
core.state.mount !== StrivveCoreMount.ACCOUNT_LINK &&
core.state.mount !== StrivveCoreMount.SELECT_SITE_CAROUSEL && (
<div onClick={() => core.goBack()}>
<BackIcon />
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/component/appearance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ const defaultAppearance: Appearance = {
modalStatus: {
background: 'white',
textAlign: 'center',
margin: '30% auto',
margin: '20px auto',
borderRadius: '5px',
padding: '30px',
position: 'relative',
Expand Down

0 comments on commit f5252d3

Please sign in to comment.