mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
11 lines
321 B
JavaScript
11 lines
321 B
JavaScript
import React from 'react'
|
|
import { textValue } from './lib/shared-module'
|
|
|
|
export async function register() {
|
|
if (Object(React).useState) {
|
|
throw new Error('instrumentation is not working correctly in server layer')
|
|
}
|
|
console.log('instrumentation:register')
|
|
console.log('instrumentation:text:' + textValue)
|
|
}
|