mirror of
https://github.com/owncast/owncast.git
synced 2024-11-29 11:39:08 +03:00
Allow a fallback for storybook building
This commit is contained in:
parent
2bf7eb8c22
commit
423ed88fbd
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ function UserColor(props: { color: number }): React.ReactElement {
|
|||
export default function NameChangeModal(props: Props) {
|
||||
const websocketService = useRecoilValue<WebsocketService>(websocketServiceAtom);
|
||||
const chatDisplayName = useRecoilValue<string>(chatDisplayNameAtom);
|
||||
const chatDisplayColor = useRecoilValue<number>(chatDisplayColorAtom);
|
||||
const chatDisplayColor = useRecoilValue<number>(chatDisplayColorAtom) || 0;
|
||||
const [newName, setNewName] = useState<any>(chatDisplayName);
|
||||
|
||||
const handleNameChange = () => {
|
||||
|
|
Loading…
Reference in a new issue