From d56594d3289002566f4653d607f0837befd65109 Mon Sep 17 00:00:00 2001
From: polwex <polwex@sortug.com>
Date: Thu, 15 May 2025 10:13:00 +0700
Subject: wtf man

---
 src/components/counter.tsx | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

(limited to 'src/components/counter.tsx')

diff --git a/src/components/counter.tsx b/src/components/counter.tsx
index 0e540b8..2122b75 100644
--- a/src/components/counter.tsx
+++ b/src/components/counter.tsx
@@ -1,11 +1,17 @@
-'use client';
+"use client";
 
-import { useState } from 'react';
+import { testFn, testLogin } from "@/actions/test";
+import { useState } from "react";
 
 export const Counter = () => {
   const [count, setCount] = useState(0);
 
-  const handleIncrement = () => setCount((c) => c + 1);
+  const handleIncrement = async () => {
+    setCount((c) => c + 1);
+    const res = await testFn("rofl");
+    console.log({ res });
+    const oof = testLogin({ name: "yago", creds: "xd" });
+  };
 
   return (
     <section className="border-blue-400 -mx-4 mt-4 rounded-sm border border-dashed p-4">
-- 
cgit v1.2.3

