Skip to content

Commit

Permalink
update console story
Browse files Browse the repository at this point in the history
  • Loading branch information
steppy452 committed Jul 26, 2024
1 parent 1eca42b commit 4b6fd72
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions stories/Demos.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,12 @@ export const Console = () => {
borderRadius: 5
}}
>
<Sessions sessions={fakeSessions} viewType="console">
<Sessions
sessions={fakeSessions}
viewType="console"
isLoading={false}
onDeleteSession={() => alert('delete!')}
>
<SessionsList>
<NewSessionButton />
{Object.keys(groups).map(k => (
Expand Down Expand Up @@ -157,19 +162,6 @@ export const Slots = () => {
);
};

// export const Console = () => {
// return (
// <div style={{ position: 'absolute', top: 0, left: 0, right: 0, bottom: 0, padding: 20, margin: 20, background: '#02020F', borderRadius: 5 }}>
// <Sessions
// viewType="console"
// sessions={fakeSessions}
// isLoading={false}
// onDeleteSession={() => {}}
// />
// </div>
// );
// };

// export const NewSessionContent = () => {
// return (
// <div style={{ position: 'absolute', top: 0, left: 0, right: 0, bottom: 0, padding: 20, margin: 20, background: '#02020F', borderRadius: 5 }}>
Expand Down

0 comments on commit 4b6fd72

Please sign in to comment.