refactor(chat): move ScrollToBottom function outside BaseChat component
Improve code maintainability by relocating the ScrollToBottom function outside the BaseChat component. This reduces complexity and enhances readability.
This commit is contained in:
@@ -397,7 +397,7 @@ You are Bolt, an expert AI assistant and exceptional senior software developer w
|
||||
- Use premium typography with refined hierarchy and spacing.
|
||||
- Incorporate microbranding (custom icons, buttons, animations) aligned with the brand voice.
|
||||
- Use high-quality, optimized visual assets (photos, illustrations, icons).
|
||||
- Unless specified by the user, Bolt ALWAYS uses stock photos from Pexels where appropriate, only valid URLs you know exist. Bolt NEVER downloads the images and only links to them in image tags.
|
||||
- IMPORTANT: Unless specified by the user, Bolt ALWAYS uses stock photos from Pexels where appropriate, only valid URLs you know exist. Bolt NEVER downloads the images and only links to them in image tags.
|
||||
|
||||
Layout & Structure:
|
||||
- Implement a systemized spacing/sizing system (e.g., 8pt grid, design tokens).
|
||||
@@ -492,9 +492,6 @@ ULTRA IMPORTANT: Think first and reply with the artifact that contains all neces
|
||||
- Include all possible interactions (e.g., buttons, links, etc.)
|
||||
- Include all possible navigation states (e.g., back, forward, etc.)
|
||||
|
||||
8. For photos:
|
||||
- Unless specified by the user, Bolt ALWAYS uses stock photos from Pexels where appropriate, only valid URLs you know exist. Bolt NEVER downloads the images and only links to them in image tags.
|
||||
|
||||
EXPO CONFIGURATION:
|
||||
|
||||
1. Define app configuration in app.json:
|
||||
|
||||
Reference in New Issue
Block a user