fix empty state conditional
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ export default function Links() {
|
|||||||
|
|
||||||
<div className="space-y-2">
|
<div className="space-y-2">
|
||||||
{
|
{
|
||||||
linkData ?
|
linkData && linkData.length > 0 ?
|
||||||
linkData.sort((a,b) => {
|
linkData.sort((a,b) => {
|
||||||
if (a.orderNumber < b.orderNumber) {
|
if (a.orderNumber < b.orderNumber) {
|
||||||
return -1
|
return -1
|
||||||
|
|||||||
Reference in New Issue
Block a user