Skip to content

Commit

Permalink
added deployment configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Danushka96 committed Oct 24, 2024
1 parent ec387c1 commit 7681add
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions components/onepay-payment-request.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -191,15 +191,15 @@ const OnepayPaymentRequest = () => {
placeholder="Request Body"
value={requestBody}
onChange={(e) => setRequestBody(e.target.value)}
className="min-h-[200px] font-mono"
className="min-h-[400px] font-mono"
/>
</TabsContent>
<TabsContent value="response">
<Textarea
placeholder="Response will appear here"
value={response}
readOnly
className="min-h-[200px] font-mono"
className="min-h-[400px] font-mono"
/>
</TabsContent>
</Tabs>
Expand Down
3 changes: 1 addition & 2 deletions components/ui/input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ import * as React from "react"

import { cn } from "@/lib/utils"

export interface InputProps
extends React.InputHTMLAttributes<HTMLInputElement> {}
export type InputProps = React.InputHTMLAttributes<HTMLInputElement>

const Input = React.forwardRef<HTMLInputElement, InputProps>(
({ className, type, ...props }, ref) => {
Expand Down
3 changes: 1 addition & 2 deletions components/ui/textarea.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ import * as React from "react"

import { cn } from "@/lib/utils"

export interface TextareaProps
extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {}
export type TextareaProps = React.TextareaHTMLAttributes<HTMLTextAreaElement>

const Textarea = React.forwardRef<HTMLTextAreaElement, TextareaProps>(
({ className, ...props }, ref) => {
Expand Down
6 changes: 5 additions & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
/** @type {import('next').NextConfig} */
const nextConfig = {};
const nextConfig = {
basePath: "/onepay-client",
output: "export",
reactStrictMode: false,
};

export default nextConfig;

0 comments on commit 7681add

Please sign in to comment.