Skip to content

Commit

Permalink
fix: code editor height and use exact dep versions (#583)
Browse files Browse the repository at this point in the history
  • Loading branch information
floreks authored Apr 11, 2024
1 parent f89781e commit b772ded
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@monaco-editor/react": "4.6.0",
"@react-aria/utils": "3.23.0",
"@react-hooks-library/core": "0.6.0",
"@react-spring/web": "^9.7.3",
"@react-spring/web": "9.7.3",
"@react-stately/utils": "3.9.0",
"@react-types/shared": "3.22.0",
"@tanstack/match-sorter-utils": "8.8.4",
Expand Down
6 changes: 3 additions & 3 deletions src/components/CodeEditor.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { type Dispatch, useEffect, useState } from 'react'
import { Button, Flex, P } from 'honorable'
import { Button, Div, Flex, P } from 'honorable'
import { useTheme } from 'styled-components'

import Editor, { useMonaco } from '@monaco-editor/react'
Expand Down Expand Up @@ -89,7 +89,7 @@ export default function CodeEditor({
height={height}
{...props}
>
<div
<Div
css={{
display: 'flex',
flexDirection: 'column',
Expand All @@ -107,7 +107,7 @@ export default function CodeEditor({
options={merge(defaultOptions, options)}
theme={theme.mode === 'light' ? 'plural-light' : 'plural-dark'}
/>
</div>
</Div>
{save && (
<Flex
align="center"
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2899,7 +2899,7 @@ __metadata:
"@pluralsh/eslint-config-typescript": 2.5.147
"@react-aria/utils": 3.23.0
"@react-hooks-library/core": 0.6.0
"@react-spring/web": ^9.7.3
"@react-spring/web": 9.7.3
"@react-stately/utils": 3.9.0
"@react-types/shared": 3.22.0
"@storybook/addon-actions": 7.6.5
Expand Down Expand Up @@ -4485,7 +4485,7 @@ __metadata:
languageName: node
linkType: hard

"@react-spring/web@npm:^9.7.3":
"@react-spring/web@npm:9.7.3":
version: 9.7.3
resolution: "@react-spring/web@npm:9.7.3"
dependencies:
Expand Down

0 comments on commit b772ded

Please sign in to comment.