Skip to content

Commit

Permalink
ad provider fix
Browse files Browse the repository at this point in the history
  • Loading branch information
isstuev committed Mar 28, 2024
1 parent 38b59af commit 1c9b821
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nextjs/getServerSideProps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 }) => {
Expand All @@ -28,6 +28,7 @@ export const base: GetServerSideProps<Props> = async({ req, query }) => {
return adBannerFeature.provider;
}
}
return null;
})();

return {
Expand Down

0 comments on commit 1c9b821

Please sign in to comment.