mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-11-17 21:38:34 +05:30
fix: misc
This commit is contained in:
parent
1d49889e18
commit
1cc774e75d
3 changed files with 2 additions and 15 deletions
|
|
@ -1,6 +0,0 @@
|
|||
import { expect, describe, it } from 'vitest';
|
||||
// import { main } from './service';
|
||||
//
|
||||
// describe('generic-calc', () => {
|
||||
//
|
||||
// })
|
||||
|
|
@ -237,10 +237,7 @@ export default async function makeTool(
|
|||
initialValues={initialValues}
|
||||
toolInfo={{
|
||||
title: calcData.name,
|
||||
description:
|
||||
(calcData.description || '') +
|
||||
' Generated from formula: ' +
|
||||
calcData.formula
|
||||
description: calcData.longDescription
|
||||
}}
|
||||
verticalGroups
|
||||
getGroups={({ values, updateField }) => [
|
||||
|
|
|
|||
|
|
@ -17,13 +17,9 @@ allGenericCalcs.forEach((x) => {
|
|||
|
||||
tools.push(
|
||||
defineTool('number', {
|
||||
name: x.name,
|
||||
...x,
|
||||
path: 'generic-calc/' + x.path,
|
||||
icon: x.icon || '',
|
||||
description: x.description || '',
|
||||
shortDescription: x.description || '',
|
||||
keywords: ['calculator', 'math', ...x.keywords],
|
||||
longDescription: x.longDescription || '',
|
||||
component: lazy(importComponent2)
|
||||
})
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue