diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index e2cfa8d..60f7ebb 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,9 +4,9 @@
-
+
-
+
@@ -333,15 +333,7 @@
-
-
-
-
- 1740276092528
-
-
-
- 1740276092528
+
@@ -727,7 +719,15 @@
1741483345639
-
+
+
+ 1741483603658
+
+
+
+ 1741483603658
+
+
@@ -786,7 +786,6 @@
-
@@ -811,7 +810,8 @@
-
+
+
diff --git a/src/pages/tools/string/palindrome/index.tsx b/src/pages/tools/string/palindrome/index.tsx
index c7a9f85..08299c4 100644
--- a/src/pages/tools/string/palindrome/index.tsx
+++ b/src/pages/tools/string/palindrome/index.tsx
@@ -11,6 +11,7 @@ import ToolExamples, {
} from '@components/examples/ToolExamples';
import { ToolComponentProps } from '@tools/defineTool';
import { FormikProps } from 'formik';
+import ToolContent from '@components/ToolContent';
const initialValues = {
splitOperatorType: 'symbol' as SplitOperatorType,
@@ -76,7 +77,6 @@ const exampleCards: CardExampleType[] = [
export default function Palindrome({ title }: ToolComponentProps) {
const [input, setInput] = useState('');
const [result, setResult] = useState('');
- const formRef = useRef>(null);
const computeExternal = (
optionsValues: typeof initialValues,
@@ -109,24 +109,18 @@ export default function Palindrome({ title }: ToolComponentProps) {
];
return (
-
- }
- result={}
- />
-
-
-
+ }
+ resultComponent={
+
+ }
+ exampleCards={exampleCards}
+ />
);
}