Skip to content

Commit

Permalink
Fix sent prorgam messages display
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitayutanov committed Aug 24, 2023
1 parent 85efb59 commit ca2b58d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type Props = {
};

type RequestParams = {
source: HexString;
query: HexString;
};

const ProgramMessages = ({ programId }: Props) => {
Expand All @@ -24,7 +24,7 @@ const ProgramMessages = ({ programId }: Props) => {
const [activeFilter, setActiveFilter] = useState(MessageFilter.Messages);

const { loadData } = useDataLoading<RequestParams>({
defaultParams: { source: programId },
defaultParams: { query: programId },
fetchData: fetchMessages,
});

Expand Down

0 comments on commit ca2b58d

Please sign in to comment.