@daeryun/dr_components 1.3.4 → 1.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -39,9 +39,7 @@ const CategoryComponent = (props) => {
39
39
  //520px
40
40
  'max-2sm:auto-rows-[minmax(0,50px)]'}>
41
41
  {showCategory.map((item, index) => {
42
- return (<Link href={{
43
- pathname: linkString(item.idx, item.pathname)
44
- }} key={index} className={'group/category flex h-full w-full items-center justify-between gap-[6px] rounded-[10px] border-[1px] border-solid border-[#D9D9D9] bg-[#fff] px-[20px] ' +
42
+ return (<Link href={linkString(item.idx, item.pathname)} key={index} className={'group/category flex h-full w-full items-center justify-between gap-[6px] rounded-[10px] border-[1px] border-solid border-[#D9D9D9] bg-[#fff] px-[20px] ' +
45
43
  //900px
46
44
  'max-md2:rounded-none max-md2:border-0' +
47
45
  //520px
@@ -72,9 +72,7 @@ const CategoryComponent = (props: {
72
72
  {showCategory.map((item, index) => {
73
73
  return (
74
74
  <Link
75
- href={{
76
- pathname: linkString(item.idx, item.pathname)
77
- }}
75
+ href={linkString(item.idx, item.pathname)}
78
76
  key={index}
79
77
  className={
80
78
  'group/category flex h-full w-full items-center justify-between gap-[6px] rounded-[10px] border-[1px] border-solid border-[#D9D9D9] bg-[#fff] px-[20px] ' +