Skip to content

Commit

Permalink
feat: Variant switcher
Browse files Browse the repository at this point in the history
  • Loading branch information
areknawo committed Jan 11, 2024
1 parent 304a2fa commit b50f6bc
Show file tree
Hide file tree
Showing 51 changed files with 956 additions and 559 deletions.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"hget",
"Hocuspocus",
"hset",
"kanban",
"Kanbans",
"Lexo",
"listitem",
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/components/fragments/mini-code-editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ const MiniCodeEditor: Component<MiniCodeEditorProps> = (props) => {
<div
ref={setEditorContainerRef}
class={clsx(
"w-full bg-gray-100 border-2 not-prose dark:bg-gray-900 rounded-2xl dark:border-gray-700 rounded-editor-2xl customized-editor box-content",
"w-full bg-gray-100 border-2 not-prose dark:bg-gray-900 rounded-2xl dark:border-gray-700 rounded-editor-2xl customized-editor",
props.color === "contrast" && "customized-editor-contrast",
props.class
)}
Expand Down
4 changes: 3 additions & 1 deletion apps/web/src/context/authenticated-user-data.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ const AuthenticatedUserDataProvider: ParentComponent = (props) => {
const [currentWorkspaceId] = createResource<string | null>(
async () => {
try {
return await client.userSettings.getWorkspaceId.query();
const { workspaceId } = await client.userSettings.getWorkspaceId.query();

return workspaceId;
} catch (error) {
const clientError = error as App.ClientError;

Expand Down
Loading

0 comments on commit b50f6bc

Please sign in to comment.