Commit a415924 1 parent 0d92ab9 commit a415924 Copy full SHA for a415924
File tree 1 file changed +2
-5
lines changed
1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -13,15 +13,11 @@ type Props = {
13
13
title : string
14
14
}
15
15
16
- const TagViewHeader = ( props : Props ) => {
17
- const { allowCreate, light, title} = props
18
-
19
- // Redux
16
+ const TagViewHeader = ( { allowCreate, light, title} : Props ) => {
20
17
const dispatch = useDispatch ( )
21
18
const tagsCreating = useTypedSelector ( state => state . tags . creating )
22
19
const tagsFetching = useTypedSelector ( state => state . tags . fetching )
23
20
24
- // Callbacks
25
21
const handleTagCreate = ( ) => {
26
22
dispatch ( DIALOG_ACTIONS . showTagCreate ( ) )
27
23
}
@@ -35,6 +31,7 @@ const TagViewHeader = (props: Props) => {
35
31
style = { {
36
32
background : light ? hues . gray ?. [ 900 ] . hex : black . hex ,
37
33
borderBottom : `1px solid ${ hues . gray ?. [ 900 ] . hex } ` ,
34
+ flexShrink : 0 ,
38
35
height : `${ PANEL_HEIGHT } px`
39
36
} }
40
37
>
You can’t perform that action at this time.
0 commit comments