File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
src/components/databrowser/components/display Expand file tree Collapse file tree 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"
55import { Button } from "@/components/ui/button"
66
77import { TypeTag } from "../type-tag"
8- import { Badge , LengthBadge , SizeBadge , TTLBadge } from "./header-badges"
8+ import { LengthBadge , SizeBadge , TTLBadge } from "./header-badges"
99import { KeyActions } from "./key-actions"
1010
1111export const DisplayHeader = ( {
@@ -17,8 +17,6 @@ export const DisplayHeader = ({
1717 dataKey : string
1818 type : DataType
1919} ) => {
20- const size = content ?. length
21- const length = content ?. length
2220
2321 const { setSelectedListItem } = useDatabrowserStore ( )
2422
@@ -52,7 +50,6 @@ export const DisplayHeader = ({
5250 < TypeTag variant = { type } type = "badge" />
5351 < SizeBadge dataKey = { dataKey } />
5452 < LengthBadge dataKey = { dataKey } type = { type } content = { content } />
55- { length && < Badge label = "Length:" > { size } </ Badge > }
5653 < TTLBadge dataKey = { dataKey } />
5754 </ div >
5855 </ div >
You can’t perform that action at this time.
0 commit comments