Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/renderer/components/__snapshots__/Sidebar.test.tsx.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/renderer/components/icons/LogoIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ export const LogoIcon: FC<ILogoIcon> = ({
...props
}: ILogoIcon) => (
<svg
aria-hidden="true"
aria-label={`${APPLICATION.NAME} Logo`}
className={cn(
size === Size.SMALL && 'size-2.5',
size === Size.MEDIUM && 'size-5',
size === Size.LARGE && 'size-8',
)}
onClick={() => onClick?.()}
role="img"
viewBox="0 0 500 500"
xmlns="https://www.w3.org/2000/svg"
xmlnsXlink="https://www.w3.org/1999/xlink"
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/icons/VolumeDownIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import type { FC } from 'react';

export const VolumeDownIcon: FC = () => (
<svg
aria-hidden="true"
aria-label="Volume Down Icon"
className="size-2"
fill="currentColor"
height="24"
role="img"
viewBox="0 0 24 24"
width="24"
xmlns="http://www.w3.org/2000/svg"
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/icons/VolumeUpIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import type { FC } from 'react';

export const VolumeUpIcon: FC = () => (
<svg
aria-hidden="true"
aria-label="Volume Up Icon"
className="size-2"
fill="currentColor"
height="24"
role="img"
viewBox="0 0 24 24"
width="24"
xmlns="http://www.w3.org/2000/svg"
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/renderer/routes/__snapshots__/Login.test.tsx.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/renderer/routes/__snapshots__/Settings.test.tsx.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/renderer/utils/api/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -268,9 +268,9 @@ export async function getLatestDiscussion(
try {
const response = await searchDiscussions(notification);
return (
response.data?.data.search.nodes.filter(
response.data?.data.search.nodes.find(
(discussion) => discussion.title === notification.subject.title,
)[0] ?? null
) ?? null
);
} catch (err) {
rendererLogError(
Expand Down