Skip to content

Commit 6c6f476

Browse files
committed
back to classname
1 parent 2e53756 commit 6c6f476

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

app/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"@opentrons/step-generation": "link:../step-generation",
3131
"@thi.ng/paths": "1.6.5",
3232
"@types/uuid": "^3.4.7",
33+
"classnames": "2.5.2",
3334
"connected-react-router": "6.9.3",
3435
"core-js": "3.2.1",
3536
"date-fns": "2.25.0",

labware-library/src/components/website-navigation/NavLink.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import cx from 'classnames'
1+
import clsx from 'clsx'
22

33
import styles from './styles.module.css'
44

@@ -13,10 +13,10 @@ export function NavLink(props: Props): JSX.Element {
1313
gtm: { category, label, action },
1414
} = props
1515
return (
16-
<div className={cx(styles.link_group, props.className)}>
16+
<div className={clsx(styles.link_group, props.className)}>
1717
<a
1818
href={props.url}
19-
className={cx(styles.link_title, { [styles.link_cta]: props.cta })}
19+
className={clsx(styles.link_title, { [styles.link_cta]: props.cta })}
2020
target="_blank"
2121
rel="noopener noreferrer"
2222
data-gtm-category={category}

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@
7878
"babel-loader": "^8.2.2",
7979
"babel-plugin-styled-components": "2.0.7",
8080
"babel-plugin-unassert": "^3.0.1",
81-
"classnames": "2.5.1",
8281
"concurrently": "8.2.2",
8382
"conventional-changelog": "^3.1.25",
8483
"core-js": "^3.6.4",

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8954,11 +8954,6 @@ [email protected]:
89548954
resolved "https://registry.yarnpkg.com/classnames/-/classnames-2.2.5.tgz#fb3801d453467649ef3603c7d61a02bd129bde6d"
89558955
integrity sha512-DTt3GhOUDKhh4ONwIJW4lmhyotQmV2LjNlGK/J2hkwUcqcbKkCLAdJPtxQnxnlc7SR3f1CEXCyMmc7WLUsWbNA==
89568956

8957-
8958-
version "2.5.1"
8959-
resolved "https://registry.yarnpkg.com/classnames/-/classnames-2.5.1.tgz#ba774c614be0f016da105c858e7159eae8e7687b"
8960-
integrity sha512-saHYOzhIQs6wy2sVxTM6bUDsQO4F50V9RQ22qBpEdCW+I+/Wmke2HOl6lS6dTpdxVhb88/I6+Hs+438c3lfUow==
8961-
89628957
89638958
version "4.2.1"
89648959
resolved "https://registry.yarnpkg.com/clean-css/-/clean-css-4.2.1.tgz#2d411ef76b8569b6d0c84068dabe85b0aa5e5c17"
@@ -9078,6 +9073,11 @@ clone@^1.0.2:
90789073
resolved "https://registry.yarnpkg.com/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e"
90799074
integrity sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==
90809075

9076+
9077+
version "2.1.1"
9078+
resolved "https://registry.yarnpkg.com/clsx/-/clsx-2.1.1.tgz#eed397c9fd8bd882bfb18deab7102049a2f32999"
9079+
integrity sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==
9080+
90819081
coa@^2.0.2:
90829082
version "2.0.2"
90839083
resolved "https://registry.yarnpkg.com/coa/-/coa-2.0.2.tgz#43f6c21151b4ef2bf57187db0d73de229e3e7ec3"

0 commit comments

Comments
 (0)