Skip to content

Commit

Permalink
style: reformat some codes
Browse files Browse the repository at this point in the history
  • Loading branch information
PleahMaCaka committed Oct 30, 2023
1 parent b1b9d08 commit 9d551c9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
7 changes: 3 additions & 4 deletions src/lib/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ import { get } from "svelte/store"
export class Client {

private _url: string = get(stateStore).url.model
public llm = new LLM({ uri: this._url })

constructor() {}

public updateUrl(): void {
this._url = get(stateStore).url.model
Expand All @@ -14,10 +17,6 @@ export class Client {
})
}

public llm = new LLM({ uri: this._url })

constructor() {}

public async appendHistory(author: Author, msg: string) {
stateStore.update((state) => {
return {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/Sidebar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
</script>

<div
class:collapsed={isCollapsed}
class="side-container dark:bg-dark bg-lightdark"
class:collapsed={isCollapsed}
>
<div class="sidebar-content">
<div class="sidebar-top-content">
Expand Down
4 changes: 3 additions & 1 deletion src/lib/components/sidebar/SideButton.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
src={iconSrc}
width="28px"
/>
<h4 class="side-title"><slot/></h4>
<h4 class="side-title">
<slot />
</h4>
</div>
</a>
</li>
Expand Down

0 comments on commit 9d551c9

Please sign in to comment.