mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
9 lines
514 B
JavaScript
9 lines
514 B
JavaScript
import { registerServerReference } from "private-next-rsc-server-reference";
|
|
/* __next_internal_action_entry_do_not_use__ {"406a88810ecce4a4e8b59d53b8327d7e98bbf251d7":{"name":"$$RSC_SERVER_ACTION_0"}} */ const noop = (action)=>action;
|
|
export const $$RSC_SERVER_ACTION_0 = async function(data) {
|
|
console.log(data);
|
|
};
|
|
registerServerReference($$RSC_SERVER_ACTION_0, "406a88810ecce4a4e8b59d53b8327d7e98bbf251d7", null);
|
|
// TODO: should use `log` as function name?
|
|
export const log = noop($$RSC_SERVER_ACTION_0);
|