Skip to content

Commit

Permalink
UX: Fix buttons call to action order
Browse files Browse the repository at this point in the history
  • Loading branch information
clemlesne committed Jul 4, 2023
1 parent 310b659 commit 62264e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/conversation-ui/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,9 @@ function App() {
loading={auth.isLoading}
/>
<Button
emoji={darkTheme ? "🌕" : "☀️"}
emoji={darkTheme ? "☀️" : "🌕"}
onClick={() => setDarkTheme(!darkTheme)}
text={darkTheme ? "Dark" : "Light"}
text={darkTheme ? "Light" : "Dark"}
/>
</div>
</small>
Expand Down
4 changes: 2 additions & 2 deletions src/conversation-ui/src/Conversation.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -259,9 +259,9 @@ function Conversation({
<Button
active={secret}
disabled={loading}
emoji={secret ? "🙈" : "💾"}
emoji={secret ? "💾" : "🙈"}
onClick={() => setSecret(!secret)}
text={secret ? "Temporary" : "Stored"}
text={secret ? "Stored" : "Temporary"}
/>
</div>
<div className="conversation__input__block">
Expand Down

0 comments on commit 62264e6

Please sign in to comment.