From 2d9689967dc8e5aa29c0ac583a260b5d62294856 Mon Sep 17 00:00:00 2001
From: Ren Amamiya <123083837+reyamir@users.noreply.github.com>
Date: Sun, 23 Apr 2023 09:56:31 +0700
Subject: [PATCH] fixed build errors, again
---
package.json | 3 +--
pnpm-lock.yaml | 8 --------
src-tauri/tauri.conf.json | 2 +-
src/components/channels/channelList.tsx | 8 +++-----
src/components/layouts/newsfeed.tsx | 18 +++++++++++++++++-
src/components/relaysProvider.tsx | 8 +++++++-
src/pages/index.page.tsx | 4 +---
.../onboarding/create/index.page.client.tsx | 7 +------
vite.config.ts | 4 +---
9 files changed, 32 insertions(+), 30 deletions(-)
diff --git a/package.json b/package.json
index be1e1cc2..ad067bc0 100644
--- a/package.json
+++ b/package.json
@@ -38,8 +38,7 @@
"react-string-replace": "^1.1.0",
"react-virtuoso": "^4.2.2",
"swr": "^2.1.3",
- "tauri-plugin-sql-api": "github:tauri-apps/tauri-plugin-sql",
- "unique-names-generator": "^4.7.1"
+ "tauri-plugin-sql-api": "github:tauri-apps/tauri-plugin-sql"
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.9",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index ee6fef5f..af0f46da 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -52,7 +52,6 @@ specifiers:
tailwindcss: ^3.3.1
tauri-plugin-sql-api: github:tauri-apps/tauri-plugin-sql
typescript: ^4.9.5
- unique-names-generator: ^4.7.1
vite: ^4.3.1
vite-plugin-ssr: ^0.4.115
vite-tsconfig-paths: ^4.2.0
@@ -84,7 +83,6 @@ dependencies:
react-virtuoso: 4.2.2_biqbaboplfbrettd7655fr4n2y
swr: 2.1.3_react@18.2.0
tauri-plugin-sql-api: github.com/tauri-apps/tauri-plugin-sql/62b21ef24303d80e9905f57b2b6d27efc8677c23
- unique-names-generator: 4.7.1
devDependencies:
'@tailwindcss/typography': 0.5.9_tailwindcss@3.3.1
@@ -5086,12 +5084,6 @@ packages:
which-boxed-primitive: 1.0.2
dev: true
- /unique-names-generator/4.7.1:
- resolution:
- { integrity: sha512-lMx9dX+KRmG8sq6gulYYpKWZc9RlGsgBR6aoO8Qsm3qvkSJ+3rAymr+TnV8EDMrIrwuFJ4kruzMWM/OpYzPoow== }
- engines: { node: '>=8' }
- dev: false
-
/update-browserslist-db/1.0.11_browserslist@4.21.5:
resolution:
{ integrity: sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA== }
diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json
index 44eda095..83e76963 100644
--- a/src-tauri/tauri.conf.json
+++ b/src-tauri/tauri.conf.json
@@ -3,7 +3,7 @@
"beforeDevCommand": "pnpm dev",
"beforeBuildCommand": "pnpm build",
"devPath": "http://localhost:3000",
- "distDir": "../dist",
+ "distDir": "../dist/client",
"withGlobalTauri": true
},
"package": {
diff --git a/src/components/channels/channelList.tsx b/src/components/channels/channelList.tsx
index f09f3377..bde9f04d 100644
--- a/src/components/channels/channelList.tsx
+++ b/src/components/channels/channelList.tsx
@@ -3,7 +3,6 @@ import { ChannelListItem } from '@components/channels/channelListItem';
import { DEFAULT_CHANNELS } from '@stores/constants';
import { Plus } from 'iconoir-react';
-import Link from 'next/link';
import { useState } from 'react';
export default function ChannelList() {
@@ -14,9 +13,8 @@ export default function ChannelList() {
{list.map((item) => (
+ This feature hasn't implemented yet, so resize Lume to the initial size for a better experience. + I'm sorry for this inconvenience, and I swear I will add it soon 😁 +
+