Skip to content

Commit

Permalink
buggy code
Browse files Browse the repository at this point in the history
  • Loading branch information
ay-bh committed Nov 24, 2023
1 parent d6f3210 commit aab298d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Calculator from '@/components/calculator/Calculator'
export default function Home() {
return (
<main className={styles.main}>
<h1>Welcome to the Calcuator</h1>
<h1>Welcome to the Calculator</h1>
<Calculator />
</main>
)
Expand Down
2 changes: 1 addition & 1 deletion src/components/calculator/functions.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// src/functions.js

export function add(a, b) {
return a + b + 1;
return a + b + 2;
}

export function subtract(a, b) {
Expand Down

0 comments on commit aab298d

Please sign in to comment.