fix: default to allcategories when search params is not from recommended (#2653)

This commit is contained in:
Rozstone 2024-03-02 17:11:25 +08:00 • committed by GitHub
commit 2001483659
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 349 additions and 15 deletions

View file

@ -23,9 +23,9 @@ export const AppInfo: FC<{ siteInfo: SiteInfo }> = ({ siteInfo }) => {
export const PromptTemplate: FC<{ html: string }> = ({ html }) => {
return (
<div
className={' box-border text-sm text-gray-700'}
className={'box-border text-sm text-gray-700'}
dangerouslySetInnerHTML={{ __html: html }}
></div>
/>
)
}