File tree 1 file changed +1
-4
lines changed
src/components/databrowser/components/display
1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { IconPlus } from "@tabler/icons-react"
5
5
import { Button } from "@/components/ui/button"
6
6
7
7
import { TypeTag } from "../type-tag"
8
- import { Badge , LengthBadge , SizeBadge , TTLBadge } from "./header-badges"
8
+ import { LengthBadge , SizeBadge , TTLBadge } from "./header-badges"
9
9
import { KeyActions } from "./key-actions"
10
10
11
11
export const DisplayHeader = ( {
@@ -17,8 +17,6 @@ export const DisplayHeader = ({
17
17
dataKey : string
18
18
type : DataType
19
19
} ) => {
20
- const size = content ?. length
21
- const length = content ?. length
22
20
23
21
const { setSelectedListItem } = useDatabrowserStore ( )
24
22
@@ -52,7 +50,6 @@ export const DisplayHeader = ({
52
50
< TypeTag variant = { type } type = "badge" />
53
51
< SizeBadge dataKey = { dataKey } />
54
52
< LengthBadge dataKey = { dataKey } type = { type } content = { content } />
55
- { length && < Badge label = "Length:" > { size } </ Badge > }
56
53
< TTLBadge dataKey = { dataKey } />
57
54
</ div >
58
55
</ div >
You can’t perform that action at this time.
0 commit comments