mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
12 lines
709 B
JavaScript
12 lines
709 B
JavaScript
/* __next_internal_action_entry_do_not_use__ {"00f8b140eeaaaa6c987593016c19b3fe41bc812c62":{"name":"myCoolServerAction"}} */ import { registerServerReference } from "private-next-rsc-server-reference";
|
|
import React from 'react';
|
|
import inter from '@next/font/google/target.css?{"path":"app/test.tsx","import":"Inter","arguments":[],"variableName":"inter"}';
|
|
export async function myCoolServerAction() {
|
|
return <div className={inter.className}>Hello from server action</div>;
|
|
}
|
|
import { ensureServerEntryExports } from "private-next-rsc-action-validate";
|
|
ensureServerEntryExports([
|
|
myCoolServerAction
|
|
]);
|
|
registerServerReference(myCoolServerAction, "00f8b140eeaaaa6c987593016c19b3fe41bc812c62", null);
|