Commit 1c9b8218 authored by isstuev's avatar isstuev

ad provider fix

parent 38b59af5
......@@ -14,7 +14,7 @@ export type Props = {
number: string;
q: string;
name: string;
adBannerProvider?: string;
adBannerProvider: string | null;
}
export const base: GetServerSideProps<Props> = async({ req, query }) => {
......@@ -28,6 +28,7 @@ export const base: GetServerSideProps<Props> = async({ req, query }) => {
return adBannerFeature.provider;
}
}
return null;
})();
return {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment