mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
remove githubUrl
This commit is contained in:
parent
b32e0a5085
commit
dcc7bd62b7
@ -74,17 +74,11 @@ const optionVariants = cva(
|
||||
|
||||
export function ViewOptions({
|
||||
markdownUrl,
|
||||
githubUrl,
|
||||
}: {
|
||||
/**
|
||||
* A URL to the raw Markdown/MDX content of page
|
||||
*/
|
||||
markdownUrl: string,
|
||||
|
||||
/**
|
||||
* Source file URL on GitHub
|
||||
*/
|
||||
githubUrl: string,
|
||||
}) {
|
||||
const items = useMemo(() => {
|
||||
const fullMarkdownUrl =
|
||||
@ -201,7 +195,7 @@ export function ViewOptions({
|
||||
icon: <MessageCircleIcon />,
|
||||
},
|
||||
];
|
||||
}, [githubUrl, markdownUrl]);
|
||||
}, [markdownUrl]);
|
||||
|
||||
return (
|
||||
<Popover>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user