Skip to content

[BUG] ThemedTitle is not workingΒ #7239

@RockyMM

Description

@RockyMM

Describe the bug

I tried to customise the title with something like this

        Title={({ collapsed }) => (
          <ThemedTitle
            // collapsed is a boolean value that indicates whether the <Sidebar> is collapsed or not
            collapsed={collapsed}
            text="My Project"
          />
        )}

but it kept rendering the default one.

In the CodeSandbox I actually get a different error, but I am unsure what to do about it https://codesandbox.io/p/sandbox/elastic-feynman-fgx78w

Steps To Reproduce

  1. Use ThemedTitle

Expected behavior

The title is customised

Packages

System:

  • OS: macOS 15.2
  • CPU: (11) arm64 Apple M3 Pro

Binaries:

  • Node: 20.20.0 - /Users/rademartinovic/.nvm/versions/node/v20.20.0/bin/node
  • Yarn: Not Found
  • npm: 10.8.2 - /Users/rademartinovic/.nvm/versions/node/v20.20.0/bin/npm

Browsers:

  • Chrome: 144.0.7559.110
  • Firefox: 147.0.1
  • Safari: 18.2

Refine Packages:

  • @refinedev/cli: 2.16.50
  • @refinedev/core: 5.0.8
  • @refinedev/devtools: 2.0.3
  • @refinedev/kbar: 2.0.1
  • @refinedev/mui: 8.0.0
  • @refinedev/react-hook-form: 5.0.4
  • @refinedev/react-router: 2.0.3
  • @refinedev/simple-rest: 6.0.1

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions