mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-05-25 18:55:19 +02:00
Conditionally render test profiles in playground based on use testing flag
This commit is contained in:
parent
01f16a11d3
commit
f7a4afe49d
2 changed files with 15 additions and 14 deletions
|
|
@ -131,15 +131,13 @@ export function App({
|
|||
</div>
|
||||
}
|
||||
>
|
||||
{USE_TESTING_FEATURE && (
|
||||
<ProfileSelector
|
||||
projectId={projectId}
|
||||
isOpen={isProfileSelectorOpen}
|
||||
onOpenChange={setIsProfileSelectorOpen}
|
||||
onSelect={handleTestProfileChange}
|
||||
selectedProfileId={testProfile?._id}
|
||||
/>
|
||||
)}
|
||||
<ProfileSelector
|
||||
projectId={projectId}
|
||||
isOpen={isProfileSelectorOpen}
|
||||
onOpenChange={setIsProfileSelectorOpen}
|
||||
onSelect={handleTestProfileChange}
|
||||
selectedProfileId={testProfile?._id}
|
||||
/>
|
||||
<div className="h-full overflow-auto px-4 py-4">
|
||||
<Chat
|
||||
key={`chat-${counter}`}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue