chore: remove debug code

pull/234/head
金伟强 3 years ago
parent dfa7d95d39
commit 6ef7854c9f

@ -76,7 +76,6 @@ const CommonLayout: FC<ICommonLayoutProps> = ({ children }) => {
<DatasetsContext.Provider value={{ datasets: datasetList?.data || [], mutateDatasets, currentDataset }}>
<div ref={pageContainerRef} className='relative flex flex-col h-full overflow-auto bg-gray-100'>
<Header isBordered={['/apps', '/datasets'].includes(pathname)} curApp={curApp as any} appItems={appList.data} userProfile={userProfile} onLogout={onLogout} langeniusVersionInfo={langeniusVersionInfo} />
<button onClick={() => ddfdfd()}>Break the world</button>
{children}
</div>
</DatasetsContext.Provider>

@ -48,8 +48,12 @@ const sentryWebpackPluginOptions = {
org: "perfectworld",
project: "javascript-nextjs",
silent: true, // Suppresses all logs
sourcemaps: {
assets: "./**",
ignore: ["./node_modules/**"],
},
// https://github.com/getsentry/sentry-webpack-plugin#options.
}
module.exports = withSentryConfig(withMDX(nextConfig), sentryWebpackPluginOptions)
module.exports = withMDX(withSentryConfig(nextConfig, sentryWebpackPluginOptions))

Loading…
Cancel
Save