Fixed back "x" to "*", since we're using icons
This commit is contained in:
parent
3a07e7584a
commit
7eae7202bc
|
@ -40,7 +40,7 @@ export function operate(
|
||||||
return valA + valB
|
return valA + valB
|
||||||
case '-':
|
case '-':
|
||||||
return valA - valB
|
return valA - valB
|
||||||
case 'x':
|
case '*':
|
||||||
return valA * valB
|
return valA * valB
|
||||||
case '/':
|
case '/':
|
||||||
return valA / valB
|
return valA / valB
|
||||||
|
|
|
@ -6,6 +6,6 @@ import IconMultiply from '~icons/ph/x-bold'
|
||||||
export const operatorIcons = {
|
export const operatorIcons = {
|
||||||
'+': IconPlus,
|
'+': IconPlus,
|
||||||
'-': IconMinus,
|
'-': IconMinus,
|
||||||
x: IconMultiply,
|
'*': IconMultiply,
|
||||||
'/': IconDivide,
|
'/': IconDivide,
|
||||||
} as const
|
} as const
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
export const operators = ['+', '-', 'x', '/'] as const
|
export const operators = ['+', '-', '*', '/'] as const
|
||||||
|
|
||||||
export const pools = {
|
export const pools = {
|
||||||
1: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 25],
|
1: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 25],
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
export type OperatorType = '+' | '-' | 'x' | '/'
|
export type OperatorType = '+' | '-' | '*' | '/'
|
||||||
|
|
||||||
export type Plaquette = {
|
export type Plaquette = {
|
||||||
value: number
|
value: number
|
||||||
|
|
Loading…
Reference in New Issue
Block a user