Skip to content

Commit

Permalink
move components out of lib again
Browse files Browse the repository at this point in the history
  • Loading branch information
Inveracity committed Jul 21, 2023
1 parent 73048ab commit df25b59
Show file tree
Hide file tree
Showing 12 changed files with 7 additions and 8 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<script>
import { server } from '$lib/stores/server';
import { showUserList } from '$lib/stores/users';
import { RectangleListSolid, UsersSolid } from 'flowbite-svelte-icons';
import Login from './Login.svelte';
import { showUserList } from '$lib/stores/users';
import { showChannelList } from '$lib/stores/channel';
</script>

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion frontend/src/lib/stores/users.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ function createUserList() {
upd: (user: User) => update(users => {
const index = users.findIndex(u => u.name === user.name);
if (index === -1) {
console.log("user not found", user.name)
return users;
}
users[index] = user;
Expand Down
12 changes: 6 additions & 6 deletions frontend/src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
import { status } from '$lib/stores/status';
// Components
import Channels from '$lib/components/Channels.svelte';
import Input from '$lib/components/Input.svelte';
import History from '$lib/components/History.svelte';
import Navbar from '$lib/components/Navbar.svelte';
import Loading from '$lib/components/Loading.svelte';
import Users from '$lib/components/Users.svelte';
import Channels from '../components/Channels.svelte';
import Input from '../components/Input.svelte';
import History from '../components/History.svelte';
import Navbar from '../components/Navbar.svelte';
import Loading from '../components/Loading.svelte';
import Users from '../components/Users.svelte';
import { showUserList } from '$lib/stores/users';
import { showChannelList } from '$lib/stores/channel';
</script>
Expand Down

0 comments on commit df25b59

Please sign in to comment.