This commit is contained in:
parent
ddf0b61282
commit
26490bbad4
@ -59,37 +59,37 @@ const nextConfig = {
|
|||||||
|
|
||||||
module.exports = nextConfig;
|
module.exports = nextConfig;
|
||||||
|
|
||||||
const { withSentryConfig } = require("@sentry/nextjs");
|
// const { withSentryConfig } = require("@sentry/nextjs");
|
||||||
|
|
||||||
module.exports = withSentryConfig(
|
// module.exports = withSentryConfig(
|
||||||
module.exports,
|
// module.exports,
|
||||||
{
|
// {
|
||||||
// For all available options, see:
|
// // For all available options, see:
|
||||||
// https://github.com/getsentry/sentry-webpack-plugin#options
|
// // https://github.com/getsentry/sentry-webpack-plugin#options
|
||||||
|
|
||||||
// Suppresses source map uploading logs during build
|
// // Suppresses source map uploading logs during build
|
||||||
silent: true,
|
// silent: true,
|
||||||
org: "sentry",
|
// org: "sentry",
|
||||||
project: "scoresaber-reloaded",
|
// project: "scoresaber-reloaded",
|
||||||
url: "https://sentry.fascinated.cc/",
|
// url: "https://sentry.fascinated.cc/",
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
// For all available options, see:
|
// // For all available options, see:
|
||||||
// https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/
|
// // https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/
|
||||||
|
|
||||||
// Upload a larger set of source maps for prettier stack traces (increases build time)
|
// // Upload a larger set of source maps for prettier stack traces (increases build time)
|
||||||
widenClientFileUpload: false,
|
// widenClientFileUpload: false,
|
||||||
|
|
||||||
// Transpiles SDK to be compatible with IE11 (increases bundle size)
|
// // Transpiles SDK to be compatible with IE11 (increases bundle size)
|
||||||
transpileClientSDK: false,
|
// transpileClientSDK: false,
|
||||||
|
|
||||||
// Routes browser requests to Sentry through a Next.js rewrite to circumvent ad-blockers (increases server load)
|
// // Routes browser requests to Sentry through a Next.js rewrite to circumvent ad-blockers (increases server load)
|
||||||
tunnelRoute: "/monitoring",
|
// tunnelRoute: "/monitoring",
|
||||||
|
|
||||||
// Hides source maps from generated client bundles
|
// // Hides source maps from generated client bundles
|
||||||
hideSourceMaps: true,
|
// hideSourceMaps: true,
|
||||||
|
|
||||||
// Automatically tree-shake Sentry logger statements to reduce bundle size
|
// // Automatically tree-shake Sentry logger statements to reduce bundle size
|
||||||
disableLogger: true,
|
// disableLogger: true,
|
||||||
},
|
// },
|
||||||
);
|
// );
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
import Card from "@/components/Card";
|
import Card from "@/components/Card";
|
||||||
import Container from "@/components/Container";
|
import Container from "@/components/Container";
|
||||||
|
import PlayerChart from "@/components/player/PlayerChart";
|
||||||
import PlayerInfo from "@/components/player/PlayerInfo";
|
import PlayerInfo from "@/components/player/PlayerInfo";
|
||||||
import Scores from "@/components/player/Scores";
|
import Scores from "@/components/player/Scores";
|
||||||
import {
|
import {
|
||||||
@ -127,9 +128,9 @@ export default async function Player({ params: { id, sort, page } }: Props) {
|
|||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
</div>
|
</div>
|
||||||
{/* <div className="h-[320px] w-full">
|
<div className="h-[320px] w-full">
|
||||||
<PlayerChart scoresaber={player} />
|
<PlayerChart scoresaber={player} />
|
||||||
</div> */}
|
</div>
|
||||||
</Card>
|
</Card>
|
||||||
<Scores
|
<Scores
|
||||||
initalScores={playerScores?.scores}
|
initalScores={playerScores?.scores}
|
||||||
|
Loading…
Reference in New Issue
Block a user