Files
nym/nym-wallet/src/pages/internal-docs/index.tsx
T
Tommy Verrall 3dc94cc85a Send Max UX, shared address helper, CI and desktop packaging
- Wallet CI, Tauri, webpack, routes
- Send and Sahred UI
- Wallet app build and readme
2026-04-17 14:41:20 +02:00

21 lines
493 B
TypeScript

import React, { useContext } from 'react';
import { NymCard } from '../../components';
import { ApiList } from './ApiList';
import { config } from '../../config';
import { AppContext } from '../../context/main';
export const InternalDocs = () => {
const { isAdminAddress } = useContext(AppContext);
if (!config.INTERNAL_DOCS_ENABLED || !isAdminAddress) {
return null;
}
return (
<NymCard title="Docs" subheader="Internal API docs">
<ApiList />
</NymCard>
);
};