diff --git a/src/components/Creatives/CreativeList.tsx b/src/components/Creatives/CreativeList.tsx index 650c265f..198e0432 100644 --- a/src/components/Creatives/CreativeList.tsx +++ b/src/components/Creatives/CreativeList.tsx @@ -87,7 +87,7 @@ export function CreativeList() { /> )} history.replace("/user/main/creatives"); + const onCompleted = () => history.replace("/user/main/ads"); const [createCreative, { error: createError, loading: createLoading }] = useCreateCreativeMutation({ diff --git a/src/components/Drawer/MiniSideBar.tsx b/src/components/Drawer/MiniSideBar.tsx index f6deb44e..f3dbfc19 100644 --- a/src/components/Drawer/MiniSideBar.tsx +++ b/src/components/Drawer/MiniSideBar.tsx @@ -57,8 +57,8 @@ export default function MiniSideBar({ children }: PropsWithChildren) { disabled: !advertiser.selfServiceManageCampaign, }, { - label: "Creatives", - href: "/user/main/creatives", + label: "Ads", + href: "/user/main/ads", icon: ( , }, { - route: "user/main/creatives", + route: "user/main/ads", component: , }, ]; diff --git a/src/user/User.tsx b/src/user/User.tsx index 38bf05c2..e76f3258 100644 --- a/src/user/User.tsx +++ b/src/user/User.tsx @@ -114,10 +114,12 @@ export function User() { /> + + {/* default */} diff --git a/src/user/ads/InlineContentAd.tsx b/src/user/ads/InlineContentAd.tsx index f5ba3938..418daf50 100644 --- a/src/user/ads/InlineContentAd.tsx +++ b/src/user/ads/InlineContentAd.tsx @@ -26,7 +26,7 @@ export function InlineContentAd(props: { return ( - + +