Skip to content

Update image source references to use .src property for consistency… - #28

Merged
mrbubbles-src merged 3 commits into
mainfrom
fix/linting-errors
Feb 6, 2026
Merged

Update image source references to use .src property for consistency…#28
mrbubbles-src merged 3 commits into
mainfrom
fix/linting-errors

Conversation

@mrbubbles-src

Copy link
Copy Markdown
Owner

This pull request makes minor but important adjustments to how images are imported and displayed throughout the app, as well as a small update to the privacy notice component to ensure state updates are scheduled more safely. The main focus is on improving compatibility and reliability with image sources and React state updates.

Image handling improvements:

  • Updated all usages of the Image component to use the .src property of imported image objects (e.g., Logo.src and Icon.src) instead of passing the object directly. This change affects app/page.tsx, components/app-shell.tsx, and components/footer.tsx, and helps prevent potential issues with how images are handled by the framework. [1] [2] [3]

State update safety in privacy notice:

  • Changed state updates in components/privacy-notice.tsx to use queueMicrotask, ensuring that setMounted and setOpen are executed in a microtask, which can help avoid certain React state update warnings or issues.… across components and optimize privacy notice mounting logic with queueMicrotask for improved performance.

… across components and optimize privacy notice mounting logic with `queueMicrotask` for improved performance.
@vercel

vercel Bot commented Feb 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
teacherbuddy Ready Ready Preview, Comment Feb 6, 2026 0:05am

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

- Updated image source references in `page.tsx`, `app-shell.tsx`, and `footer.tsx` to use relative paths instead of absolute paths for better consistency and maintainability.
- Introduced `images.d.ts` to declare modules for `.png`, `.jpg`, and `.jpeg` file types, ensuring proper type checking for image imports.
- Updated image import paths in `page.tsx`, `app-shell.tsx`, and `footer.tsx` to use absolute paths for consistency and maintainability.
@mrbubbles-src
mrbubbles-src merged commit 8e2220e into main Feb 6, 2026
6 checks passed
@mrbubbles-src
mrbubbles-src deleted the fix/linting-errors branch February 6, 2026 00:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant