diff --git a/src/item.tsx b/src/item.tsx index 00a8f1f..9ce8986 100644 --- a/src/item.tsx +++ b/src/item.tsx @@ -16,9 +16,13 @@ export const tartoUrl = (name: string) => { : 'https://ff14.tar.to/item/view/' + index } -const Tarto: FC<{ name: string }> = ({ name }) => ( +const Tarto: FC<{ + name: string + exists?: { readonly [key: string]: readonly string[] } +}> = ({ name, exists }) => ( - {name} + {name} + {exists && } ) @@ -42,8 +46,7 @@ export const Item: FC<{ return (
  • - - {exists && } +