Skip to content

Commit

Permalink
Merge pull request #22 from FrankLaterza/main
Browse files Browse the repository at this point in the history
1.0.0
  • Loading branch information
FrankLaterza authored Oct 22, 2023
2 parents f707b31 + 00ef718 commit 217c695
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
4 changes: 3 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"@nextui-org/react": "^1.0.0-beta.12",
"@szhsin/react-menu": "^4.0.3",
"@tauri-apps/api": "^1.5.1",
"@tauri-apps/cli": "^1.5.5",
"@types/node": "18.16.3",
"@types/react": "18.2.5",
"@types/react-dom": "18.2.3",
Expand All @@ -39,5 +38,8 @@
"tailwindcss": "3.3.2",
"typescript": "5.0.4",
"vue-cli-plugin-tauri": "^1.0.0"
},
"devDependencies": {
"@tauri-apps/cli": "^1.5.5"
}
}
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"package": {
"productName": "SerialWizard",
"version": "1.0.1"
"version": "1.0.0"
},
"tauri": {
"allowlist": {
Expand Down
6 changes: 3 additions & 3 deletions src/components/message_box.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,8 @@ function Box({lines, setLines}: BoxProps) {

function writeNewLines(str: string) {
setMessageBox((messageBox) =>
// max 10,000 lines
messageBox.concat(str).slice(-10000)
// max 1,000,000 lines
messageBox.concat(str).slice(-1000000)
);
}

Expand Down Expand Up @@ -252,7 +252,7 @@ function Box({lines, setLines}: BoxProps) {
/>
<FiSend
onClick={handleSend}
className="color-white bg-violet-800 h-full w-12 p-2"
className="color-white text-white bg-violet-800 h-full w-12 p-2"
/>
</form>
</div>
Expand Down

0 comments on commit 217c695

Please sign in to comment.