fix: minor fixes (#1499)

# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):
This commit is contained in:
Zineb El Bachiri 2023-10-26 11:54:26 +02:00 committed by GitHub
parent fc84094591
commit c73529885f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 2 deletions

View File

@ -6,3 +6,17 @@ ADMIN_JWT_SECRET=tobemodified
TRANSFER_TOKEN_SALT=tobemodified TRANSFER_TOKEN_SALT=tobemodified
JWT_SECRET=tobemodified JWT_SECRET=tobemodified
# Database
DATABASE_CLIENT=postgres
# DATABASE_FILENAME=.tmp/data.db
DATABASE_HOST=
DATABASE_PORT=5432
DATABASE_NAME=postgres
DATABASE_USERNAME=postgres
DATABASE_PASSWORD=
DATABASE_SSL=false
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_REGION=
AWS_BUCKET=
RESEND_API_KEY=

View File

@ -28,7 +28,7 @@
"uuid": "c2cbd510-4048-4ef6-b14c-0e3d74744031" "uuid": "c2cbd510-4048-4ef6-b14c-0e3d74744031"
}, },
"engines": { "engines": {
"node": ">=16.0.0 <=20.x.x", "node": ">=16.0.0 <=18.x.x",
"npm": ">=6.0.0" "npm": ">=6.0.0"
}, },
"license": "MIT" "license": "MIT"

View File

@ -1,3 +1,5 @@
import { Fragment } from "react";
import { BrainManagementButton } from "@/lib/components/Sidebar/components/SidebarFooter/components/BrainManagementButton"; import { BrainManagementButton } from "@/lib/components/Sidebar/components/SidebarFooter/components/BrainManagementButton";
import { UpgradeToPlus } from "./components/UpgradeToPlus"; import { UpgradeToPlus } from "./components/UpgradeToPlus";
@ -21,7 +23,9 @@ export const SidebarFooter = ({
return ( return (
<div className="bg-gray-50 dark:bg-gray-900 border-t dark:border-white/10 mt-auto p-2"> <div className="bg-gray-50 dark:bg-gray-900 border-t dark:border-white/10 mt-auto p-2">
<div className="max-w-screen-xl flex justify-center items-center flex-col"> <div className="max-w-screen-xl flex justify-center items-center flex-col">
{showButtons.map((button) => buttons[button])} {showButtons.map((button) => (
<Fragment key={button}> {buttons[button]}</Fragment>
))}
</div> </div>
</div> </div>
); );