Skip to content

Commit

Permalink
fix build warning
Browse files Browse the repository at this point in the history
  • Loading branch information
AkshayaFoiger committed Aug 27, 2024
1 parent 2ae7731 commit 7009a1e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/modules/ui/molecules/AddConfigButton/AddConfigButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ export const AddConfigButton = ({ ...props }: AddConfigButtonProps) => {
const handleOutsideIndiaClick = useCallback<MouseEventHandler<HTMLButtonElement>>((e) => {
e.preventDefault();
void router.replace("/configurations/add/hyperswitch");
}, []);
}, [router]);

const handleIndiaClick = useCallback<MouseEventHandler<HTMLButtonElement>>((e) => {
e.preventDefault();
void router.replace("/configurations/add/juspay");
}, []);
}, [router]);

const handleOpenChange = useCallback((open: boolean) => {
setState(open ? "prompt" : "idle");
Expand Down
2 changes: 1 addition & 1 deletion src/pages/api/manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { transactionProcessSessionSyncWebhook } from "./webhooks/saleor/transact
export default createManifestHandler({
async manifestFactory(context) {
const manifest: AppManifest = {
id: "app.saleor.juspay-test",
id: "app.saleor.juspay",
name: "Juspay",
about: packageJson.description,
tokenTargetUrl: `${context.appBaseUrl}/api/register`,
Expand Down

0 comments on commit 7009a1e

Please sign in to comment.