Skip to content

Commit feadabc

Browse files
committed
Bug fixes
1 parent e2249d7 commit feadabc

File tree

2 files changed

+11
-15
lines changed

2 files changed

+11
-15
lines changed

next.config.ts

+11-13
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
1-
// import type { NextConfig } from "next";
2-
3-
// const nextConfig = {
4-
// output: "export",
5-
// reactStrictMode: true,
6-
// images: {
7-
// unoptimized: true,
8-
// },
9-
// };
1+
const nextConfig = {
2+
output: "export",
3+
reactStrictMode: true,
4+
images: {
5+
unoptimized: true,
6+
},
7+
};
108

11-
// module.exports = nextConfig;
9+
module.exports = nextConfig;
1210

13-
import type { NextConfig } from "next";
11+
// import type { NextConfig } from "next";
1412

15-
const nextConfig: NextConfig = {};
13+
// const nextConfig: NextConfig = {};
1614

17-
module.exports = nextConfig;
15+
// module.exports = nextConfig;

src/app/components/layout/MouseTrail.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ export default function MouseTrail() {
3737
// Draw white glow
3838
ctx.beginPath();
3939
positionsRef.current.forEach((pos, i) => {
40-
const alpha = 1 - pos.age / 50;
4140
if (i === 0) {
4241
ctx.moveTo(pos.x, pos.y);
4342
} else {
@@ -52,7 +51,6 @@ export default function MouseTrail() {
5251
// Draw purple trail
5352
ctx.beginPath();
5453
positionsRef.current.forEach((pos, i) => {
55-
const alpha = 1 - pos.age / 50;
5654
const width = 4 * (1 - i / positionsRef.current.length);
5755
if (i === 0) {
5856
ctx.moveTo(pos.x, pos.y);

0 commit comments

Comments
 (0)