codedthemes / berry-free-react-admin-template

Berry free react material-ui admin template for easing and faster web development.
https://berrydashboard.io/free/
MIT License
1.84k stars 897 forks source link

chore: avoid pass theme prop to the dom #75

Closed pedrocarlos-ti closed 5 months ago

pedrocarlos-ti commented 1 year ago

Description

When the MainLayout render, the theme prop is passed to the DOM as [object Object] as you can see in the image below. It was changed the logic of the Main component -> shouldForwardProp to avoid pass the prop.

Screenshot

Screenshot 2023-09-16 at 13 19 58



General

phoenixcoded20 commented 10 months ago

@CodiumAI-Agent /review

CodiumAI-Agent commented 10 months ago

PR Analysis

How to use

Instructions > Tag me in a comment '@CodiumAI-Agent' and add one of the following commands: > **/review**: Request a review of your Pull Request. > **/describe**: Update the PR title and description based on the contents of the PR. > **/improve [--extended]**: Suggest code improvements. Extended mode provides a higher quality feedback. > **/ask \**: Ask a question about the PR. > **/update_changelog**: Update the changelog based on the PR's contents. > **/add_docs**: Generate docstring for new components introduced in the PR. > **/generate_labels**: Generate labels for the PR based on the PR's contents. > see the [tools guide](https://github.com/Codium-ai/pr-agent/blob/main/docs/TOOLS_GUIDE.md) for more details. >To edit any configuration parameter from the [configuration.toml](https://github.com/Codium-ai/pr-agent/blob/main/pr_agent/settings/configuration.toml), add --config_path=new_value. >For example: /review --pr_reviewer.extra_instructions="focus on the file: ..." >To list the possible configuration parameters, add a **/config** comment.