title: auto
des: auto note:auto
This commit is contained in:
4
.vscode/settings.json
vendored
Normal file
4
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"WillLuke.nextjs.addTypesOnSave": true,
|
||||
"WillLuke.nextjs.hasPrompted": true
|
||||
}
|
||||
4
src/app/makuro/_server/makuro_test.ts
Normal file
4
src/app/makuro/_server/makuro_test.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
'use server'
|
||||
export default async function makuro_test() {
|
||||
console.log("ini diserver")
|
||||
}
|
||||
10
src/app/makuro/_server/makuro_view.tsx
Normal file
10
src/app/makuro/_server/makuro_view.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
import { test_server } from "@/app_modules/investasi/edit_intro/_makuro/test_server";
|
||||
import { Button } from "@mantine/core";
|
||||
|
||||
export default function ViewMakuro() {
|
||||
return <>
|
||||
<Button
|
||||
onClick={test_server}
|
||||
>Tekan Aja</Button>
|
||||
</>
|
||||
}
|
||||
9
src/app/makuro/page.tsx
Normal file
9
src/app/makuro/page.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import { Text } from "@mantine/core";
|
||||
import ViewMakuro from "./_server/makuro_view";
|
||||
|
||||
export default function Page() {
|
||||
return <>
|
||||
<Text>Ini Makuro</Text>
|
||||
<ViewMakuro />
|
||||
</>
|
||||
}
|
||||
Reference in New Issue
Block a user