Commit 2bf0acb3 authored by Jonáš Rosecký's avatar Jonáš Rosecký Committed by Jonáš Rosecký
Browse files

Fixed empty author name crashing the app

parent 22b19300
Loading
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -397,7 +397,9 @@ export function Release() {
                                                                        >
                                                                            {author.name
                                                                                .split(' ')
                                                                                .map((word) => word[0].toUpperCase())
                                                                                .map((word) =>
                                                                                    (word[0] || '').toUpperCase(),
                                                                                )
                                                                                .slice(0, 2)
                                                                                .join('')}
                                                                        </Text>