Skip to content

Commit daab5dc

Browse files
committed
chore: remove outdated comments and fix formatting
Removes obsolete TODO comments about package renaming in nixpkgs URLs, as the action item is no longer relevant. Fixes minor formatting inconsistency in JSX attribute alignment for improved code readability.
1 parent 0deac2e commit daab5dc

File tree

2 files changed

+1
-4
lines changed
  • gen-docs/src/components/SeerrVersion
  • src/components/RequestModal/SearchByNameModal

2 files changed

+1
-4
lines changed

gen-docs/src/components/SeerrVersion/index.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,8 @@ export const NixpkgVersion = () => {
3434
const fetchVersion = async () => {
3535
try {
3636
const unstableUrl =
37-
// Todo: rename package on next nixpkgs update
3837
'https://raw.githubusercontent.com/NixOS/nixpkgs/refs/heads/nixos-unstable/pkgs/by-name/je/jellyseerr/package.nix';
3938
const stableUrl =
40-
// Todo: rename package on next nixpkgs update
4139
'https://raw.githubusercontent.com/NixOS/nixpkgs/refs/heads/nixos-25.05/pkgs/by-name/je/jellyseerr/package.nix';
4240

4341
const [unstableResponse, stableResponse] = await Promise.all([

src/components/RequestModal/SearchByNameModal/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,7 @@ const SearchByNameModal = ({
9292
<CachedImage
9393
type="tvdb"
9494
src={
95-
item.remotePoster ??
96-
'/images/seerr_poster_not_found.png'
95+
item.remotePoster ?? '/images/seerr_poster_not_found.png'
9796
}
9897
alt={item.title}
9998
className="w-100 h-auto rounded-md"

0 commit comments

Comments
 (0)