Skip to content

Commit

Permalink
Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Rajat Saxena committed Feb 2, 2025
1 parent f68d44c commit f211bb1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions apps/web/components/admin/blogs/new-blog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@ export function NewBlog({
dispatch && dispatch(networkAction(true));
const response = await fetch.exec();
if (response.course) {
router.replace(
`/dashboard/blog/${response.course.courseId}`,
);
router.replace(`/dashboard/blog/${response.course.courseId}`);
}
} catch (err: any) {
toast({
Expand Down
4 changes: 1 addition & 3 deletions apps/web/components/admin/products/new-customer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,7 @@ export default function NewCustomer({
>
{BTN_INVITE}
</Button>
<Link
href={`/dashboard/product/${courseId}`}
>
<Link href={`/dashboard/product/${courseId}`}>
<Button variant="soft">{BTN_GO_BACK}</Button>
</Link>
</div>
Expand Down

0 comments on commit f211bb1

Please sign in to comment.