@omniumretail/component-library 1.1.28 → 1.1.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omniumretail/component-library",
3
- "version": "1.1.28",
3
+ "version": "1.1.30",
4
4
  "private": false,
5
5
  "main": "dist/bundle.js",
6
6
  "typings": "./dist/types/index",
@@ -61,7 +61,7 @@ export const Navigation = (props: NavigationProps) => {
61
61
  return (
62
62
  <div className={styles.navigation}>
63
63
  <div className={styles.columnLeft}>
64
- {backLink && <Link href="#" icon={<ArrowLeftOutlined />} linkSecondary onClick={backLinkOnClickFunction}> {!isPhone && t('navigation.back')} </Link>}
64
+ {backLink && <Link icon={<ArrowLeftOutlined />} linkSecondary onClick={backLinkOnClickFunction}> {!isPhone && t('navigation.back')} </Link>}
65
65
  </div>
66
66
  <div className={styles.columnCenter}>
67
67
  <h1 className={`${styles.title} ${styles.titleMobile}`}>{title}</h1>
@@ -84,7 +84,7 @@ export const Navigation = (props: NavigationProps) => {
84
84
  />
85
85
  )}
86
86
  {homeLink && <Link icon={<HomeOutlined />} linkSecondary iconAlignRight onClick={homeOnClickFunction}> {!isPhone && t('navigation.home')} </Link>}
87
- {loginLink && <Link href="#" onClick={loginOnClickFunction} icon={<LogoutOutlined />} linkSecondary iconAlignRight>{!isPhone && t('navigation.logout')}</Link>}
87
+ {loginLink && <Link onClick={loginOnClickFunction} icon={<LogoutOutlined />} linkSecondary iconAlignRight>{!isPhone && t('navigation.logout')}</Link>}
88
88
  </div>
89
89
  </div>
90
90
  )
@@ -68,7 +68,7 @@ export const Sidebar = (props: SidebarProps) => {
68
68
  <div className={sidebarClasses}>
69
69
  {!isMobile && (
70
70
  <div className={styles.toggle} onClick={toggleSidebar}>
71
- {sidebarOpen ? <DoubleRightOutlined /> : <DoubleLeftOutlined />}
71
+ {sidebarOpen ? <DoubleLeftOutlined /> : <DoubleRightOutlined />}
72
72
  </div>
73
73
  )}
74
74
  {links &&