import { MemoizedReactMarkdown } from './MemoizedReactMarkdown';
export default function WebSearchResults({ aiResponse, results }) {
return (
▍
}
children[0] = (children[0]).replace("`▍`", "▍")
}
const match = /language-(\w+)/.exec(className || '');
return !inline ? (
) : (
{children}
);
},
table({ children }) {
return (
);
},
th({ children }) {
return (
{children}
|
);
},
td({ children }) {
return (
{children}
|
);
},
}}
>
{`${aiResponse}`}
);
}
export async function getStaticProps(context) {
// You can access the query parameters of the request with context.query
const searchParams = context.query;
// TODO: Perform any necessary operations with searchParams
// Return searchParams as a prop to your page
return { props: { searchParams } };
}