Skip to content

Commit cefa4eb

Browse files
committed
[SDK] Docs: fix social profiles docs (#4821)
## Problem solved Short description of the bug fixed or feature added <!-- start pr-codex --> --- ## PR-Codex overview This PR updates the method used to retrieve social profiles in the `profiles.ts` file, changing the function name from `getProfiles` to `getSocialProfiles`. ### Detailed summary - Changed the import statement from `getProfiles` to `getSocialProfiles` from the `thirdweb/social` module. - Updated the usage of the function in the example to reflect the new function name. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent 63ceb28 commit cefa4eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/thirdweb/src/social/profiles.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import type { SocialProfile } from "./types.js";
1212
*
1313
* @example
1414
* ```ts
15-
* import { getProfiles } from "thirdweb/social";
16-
* const profiles = await getProfiles({
15+
* import { getSocialProfiles } from "thirdweb/social";
16+
* const profiles = await getSocialProfiles({
1717
* address: "0x...",
1818
* client,
1919
* });

0 commit comments

Comments
 (0)