Skip to content

Commit

Permalink
fix: delete comments
Browse files Browse the repository at this point in the history
  • Loading branch information
gurtatiLND committed Dec 11, 2024
1 parent b5be215 commit dc38279
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/app/toolkit/components/SortableItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,6 @@ interface SortableItemProps {
handleDelete: (id: string) => void;
}

// const isValidUrl = (url: string | undefined): boolean => {
// if (!url) return false;
// try {
// new URL(url);
// return true;
// } catch {
// return false;
// }
// };

const isValidUrl = (url: string | undefined): boolean => {
if (!url) return false;
try {
Expand Down

0 comments on commit dc38279

Please sign in to comment.