Fix typo
This commit is contained in:
@@ -38,7 +38,7 @@ function ProfileList(props: Props) {
|
|||||||
useGlobalKeyEventHandler(KeyCodes.arrow_down, selectConnection('next'))
|
useGlobalKeyEventHandler(KeyCodes.arrow_down, selectConnection('next'))
|
||||||
useGlobalKeyEventHandler(KeyCodes.arrow_up, selectConnection('previous'))
|
useGlobalKeyEventHandler(KeyCodes.arrow_up, selectConnection('previous'))
|
||||||
|
|
||||||
const createConectionButton = (
|
const createConnectionButton = (
|
||||||
<ListSubheader component="div">
|
<ListSubheader component="div">
|
||||||
<AddButton action={actions.createConnection} />
|
<AddButton action={actions.createConnection} />
|
||||||
Connections
|
Connections
|
||||||
@@ -46,7 +46,7 @@ function ProfileList(props: Props) {
|
|||||||
)
|
)
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<List style={{ height: '100%' }} component="nav" subheader={createConectionButton}>
|
<List style={{ height: '100%' }} component="nav" subheader={createConnectionButton}>
|
||||||
<div className={classes.list}>
|
<div className={classes.list}>
|
||||||
{Object.values(connections).map(connection => (
|
{Object.values(connections).map(connection => (
|
||||||
<ConnectionItem connection={connection} key={connection.id} selected={selected === connection.id} />
|
<ConnectionItem connection={connection} key={connection.id} selected={selected === connection.id} />
|
||||||
|
|||||||
Reference in New Issue
Block a user