mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-15 16:51:37 +00:00
Update post
* update algolia
This commit is contained in:
@ -93,9 +93,9 @@ const HeadBar: FC = () => {
|
||||
</li>
|
||||
<li className="DocSearch-wrapper">
|
||||
<DocSearch
|
||||
appId="R2IYF7ETH7"
|
||||
indexName="599cec31baffa4868cae4e79f180729b"
|
||||
apiKey="docsearch"
|
||||
appId={process.env.NEXT_PUBLIC_ALGOLIA_APP_ID ?? ''}
|
||||
indexName="RUA"
|
||||
apiKey={process.env.NEXT_PUBLIC_ALGOLIA_SEARCH_ADMIN_KEY ?? ''}
|
||||
/>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { FC, useEffect, useState } from 'react';
|
||||
import { FC } from 'react';
|
||||
import { Sandpack, SandpackProps } from '@codesandbox/sandpack-react';
|
||||
import '@codesandbox/sandpack-react/dist/index.css';
|
||||
import { useTheme } from 'next-themes';
|
||||
|
Reference in New Issue
Block a user