Skip to content

Commit

Permalink
chore: test canary of styled-components
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan committed Jul 10, 2024
1 parent 423e9d5 commit 0279f42
Show file tree
Hide file tree
Showing 4 changed files with 2,931 additions and 3,076 deletions.
3 changes: 2 additions & 1 deletion dev/test-studio/components/debugStyledComponents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,12 @@ export const debugStyledComponents = definePlugin({
name: 'debug-styled-components',
studio: {
components: {
layout: DebugLayout,
// layout: DebugLayout,
},
},
})

// eslint-disable-next-line @typescript-eslint/no-unused-vars, unused-imports/no-unused-vars
function DebugLayout(props: LayoutProps) {
const {renderDefault} = props
const [, setTick] = useState(1)
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,8 @@
"overrides": {
"@typescript-eslint/eslint-plugin": "$@typescript-eslint/eslint-plugin",
"@typescript-eslint/parser": "$@typescript-eslint/parser",
"@sanity/ui": "2.6.4-canary.0"
"@sanity/ui": "2.6.4-canary.0",
"styled-components": "npm:[email protected]"
}
},
"isSanityMonorepo": true
Expand Down
Loading

0 comments on commit 0279f42

Please sign in to comment.