Skip to content
This repository was archived by the owner on Aug 16, 2024. It is now read-only.

Commit 4e46590

Browse files
committed
fix: style typo
1 parent 64d8202 commit 4e46590

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@
5454
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
5555
"chrome-call": "^4.0.1",
5656
"clean-webpack-plugin": "^3.0.0",
57-
"clsx": "^1.1.1",
5857
"connect.io": "^3.1.3",
5958
"conventional-changelog-cli": "^2.1.1",
6059
"copy-webpack-plugin": "^6.4.0",

src/pages/Content/components/App/index.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ const App: React.FC = () => {
8383
return (
8484
<ConfigContext.Provider value={config}>
8585
<ClassNames>
86-
{({ css, cx }) => (
86+
{({ css: _css, cx }) => (
8787
<Draggable
8888
handle=".ate_App__header"
8989
onStart={onDragStart}
@@ -92,7 +92,7 @@ const App: React.FC = () => {
9292
ref={appRef}
9393
className={cx(
9494
'ate_App',
95-
css`
95+
_css`
9696
position: absolute;
9797
width: 450px;
9898
height: 600px;
@@ -102,7 +102,7 @@ const App: React.FC = () => {
102102
${tw`bg-white shadow-md rounded-lg overflow-hidden flex flex-col`}
103103
`,
104104
close &&
105-
css`
105+
_css`
106106
display: none;
107107
`,
108108
)}>
@@ -120,7 +120,7 @@ const App: React.FC = () => {
120120
tw`p-1`,
121121
css`
122122
svg {
123-
@apply text-gray-800;
123+
${tw`text-gray-800`};
124124
}
125125
`,
126126
]}

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2799,7 +2799,7 @@ clone-response@^1.0.2:
27992799
dependencies:
28002800
mimic-response "^1.0.0"
28012801

2802-
clsx@^1.0.4, clsx@^1.1.0, clsx@^1.1.1:
2802+
clsx@^1.0.4, clsx@^1.1.0:
28032803
version "1.1.1"
28042804
resolved "https://registry.yarnpkg.com/clsx/-/clsx-1.1.1.tgz#98b3134f9abbdf23b2663491ace13c5c03a73188"
28052805
integrity sha512-6/bPho624p3S2pMyvP5kKBPXnI3ufHLObBFCfgx+LkeR5lg2XYy2hqZqUf45ypD8COn2bhgGJSUE+l5dhNBieA==

0 commit comments

Comments
 (0)