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
|
||||
case '-':
|
||||
return valA - valB
|
||||
case 'x':
|
||||
case '*':
|
||||
return valA * valB
|
||||
case '/':
|
||||
return valA / valB
|
||||
|
|
|
@ -6,6 +6,6 @@ import IconMultiply from '~icons/ph/x-bold'
|
|||
export const operatorIcons = {
|
||||
'+': IconPlus,
|
||||
'-': IconMinus,
|
||||
x: IconMultiply,
|
||||
'*': IconMultiply,
|
||||
'/': IconDivide,
|
||||
} as const
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
export const operators = ['+', '-', 'x', '/'] as const
|
||||
export const operators = ['+', '-', '*', '/'] as const
|
||||
|
||||
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,4 +1,4 @@
|
|||
export type OperatorType = '+' | '-' | 'x' | '/'
|
||||
export type OperatorType = '+' | '-' | '*' | '/'
|
||||
|
||||
export type Plaquette = {
|
||||
value: number
|
||||
|
|
Loading…
Reference in New Issue
Block a user