Skip to content

Commit 5451e0b

Browse files
committed
Add federation and namespace to public client
1 parent 636d4d5 commit 5451e0b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

packages/components/src/PublicClient/PublicClient.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ function PublicClient(props: UsePelicanClientOptions) {
2222
handleRefetchObject,
2323
handleExplore,
2424
handleDownload,
25+
federationName,
26+
namespaceName,
2527
} = usePelicanClient(props);
2628

2729
return (
@@ -34,7 +36,12 @@ function PublicClient(props: UsePelicanClientOptions) {
3436
onChange={handleRefetchObject}
3537
loading={loading}
3638
/>
37-
<ClientMetadata showDirectories={showDirectories} setShowDirectories={setShowDirectories} />
39+
<ClientMetadata
40+
federation={federationName}
41+
namespace={namespaceName}
42+
showDirectories={showDirectories}
43+
setShowDirectories={setShowDirectories}
44+
/>
3845
</Box>
3946
</Box>
4047
<ObjectView

0 commit comments

Comments
 (0)