Skip to content

Commit

Permalink
Fix Records assets isMeme
Browse files Browse the repository at this point in the history
  • Loading branch information
lq0-github committed Jan 22, 2025
1 parent d16984d commit 086e431
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion screens/Dashboard/records.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ const Records = ({ isShow }) => {
const accountId = useAccountId();
const { activeCategory } = useAppSelector((state) => state.category);
const { toastMessage, showToast } = useToastMessage();
const assets = useAppSelector(getAssetsCategory(false));
const isMeme = useAppSelector(isMemeCategory);
const assets = useAppSelector(getAssetsCategory(isMeme));
const [isLoading, setIsLoading] = useState(false);
const [docs, setDocs] = useState<any>([]);
const [pagination, setPagination] = useState<{
Expand Down Expand Up @@ -115,6 +115,7 @@ const getColumns = ({ showToast, handleTxClick, txLoadingStates }) => [
header: "Assets",
minSize: 220,
cell: ({ originalData }) => {
console.log(originalData, "CustomTable");
const { data } = originalData || {};
const { metadata } = data || {};
const { icon, tokens, symbol } = metadata || {};
Expand Down

0 comments on commit 086e431

Please sign in to comment.