Skip to content

Commit 9f8a09f

Browse files
committed
address sonar feedback
Signed-off-by: Adam Setch <adam.setch@outlook.com>
1 parent 02e8d14 commit 9f8a09f

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/renderer/components/notifications/NotificationTitle.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const NotificationTitle: FC<NotificationTitleProps> = ({
1818
const parts = parseInlineCode(title);
1919

2020
return (
21-
<Text className={!settings.wrapNotificationTitle ? 'truncate' : undefined}>
21+
<Text className={cn(!settings.wrapNotificationTitle && 'truncate')}>
2222
{parts.map((part) => (
2323
<Text
2424
className={cn(

src/renderer/utils/core/logger.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { logError, logInfo, logWarn, toError } from '../../../shared/logger';
1+
import { logError, logInfo, logWarn } from '../../../shared/logger';
22

3-
export { toError };
3+
export { toError } from '../../../shared/logger';
44

55
import type { GitifyNotification } from '../../types';
66

0 commit comments

Comments
 (0)