Skip to content

Commit

Permalink
feat: add api key to notification settings req
Browse files Browse the repository at this point in the history
  • Loading branch information
chambaz committed Mar 6, 2024
1 parent db61711 commit 5ba77eb
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ export const WalletSettings = ({ walletAddress, tokens }: WalletSettingsProps) =
method: "GET",
headers: {
"Content-Type": "application/json",
"X-API-KEY": process.env.MARGINFI_API_KEY!,
},
});

Expand All @@ -126,7 +127,7 @@ export const WalletSettings = ({ walletAddress, tokens }: WalletSettingsProps) =

React.useEffect(() => {
fetchUsersNotificationSettings();
}, [walletAddress]);
}, []);

return (
<Accordion type="single" collapsible className="w-full space-y-4 mb-6">
Expand Down

0 comments on commit 5ba77eb

Please sign in to comment.