Skip to content

Commit

Permalink
feat(aih): edit and create lists
Browse files Browse the repository at this point in the history
  • Loading branch information
vojtaholik authored and kodiakhq[bot] committed Jan 8, 2025
1 parent 1fc98e6 commit 3d1c2ae
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use client'

import { useState } from 'react'
import React, { useState } from 'react'
import Link from 'next/link'
import { useRouter } from 'next/navigation'
import type { List } from '@/lib/lists'
Expand Down Expand Up @@ -107,9 +107,8 @@ export function AddToList({ lists, post }: { lists: List[]; post: Post }) {
<CommandEmpty>No lists found.</CommandEmpty>
<CommandGroup>
{lists.map((list) => (
<div className="relative flex items-center">
<div key={list.id} className="relative flex items-center">
<CommandItem
key={list.id}
value={list.id}
onSelect={() => handleSelect(list.id)}
>
Expand Down

0 comments on commit 3d1c2ae

Please sign in to comment.