mirror of
https://github.com/goauthentik/authentik
synced 2026-04-27 09:57:31 +02:00
* website: Update route base path. * website: Add copy step for migration. * website: Use build redirects. * website: Ensure that netlify config is picked up. * website: Add shared Netlify plugin cache. * website: Use relative path. * website: Fix routing when moving across versioned URLs. * website: Fix issues surrounding origin detection. * website: Allow integrations to omit plugin data, fix types.
16 lines
513 B
TypeScript
16 lines
513 B
TypeScript
import { useVersionPluginData } from "#components/VersionPicker/utils.ts";
|
|
import { VersionPickerLoader } from "#components/VersionPicker/VersionPickerLoader.tsx";
|
|
|
|
/**
|
|
* A component that shows the available versions of the documentation.
|
|
*
|
|
* @see {@linkcode VersionPickerLoader} for the data-fetching component.
|
|
*/
|
|
export const VersionPicker: React.FC = () => {
|
|
const pluginData = useVersionPluginData();
|
|
|
|
if (!pluginData) return null;
|
|
|
|
return <VersionPickerLoader pluginData={pluginData} />;
|
|
};
|