mirror of
https://github.com/urbit/shrub.git
synced 2025-01-03 01:54:43 +03:00
messages: fix tsc error
This commit is contained in:
parent
1f6a216f28
commit
f078b843e4
@ -55,7 +55,7 @@ export function NewChannel(props: NewChannelProps): ReactElement {
|
||||
|
||||
const channelName = (values) => {
|
||||
if (values.name)
|
||||
return value.name;
|
||||
return values.name;
|
||||
if (!values.name && workspace?.type === 'messages') {
|
||||
const joinedShips = values.ships
|
||||
.filter(Boolean)
|
||||
|
Loading…
Reference in New Issue
Block a user