Skip to content

Commit

Permalink
delete logo.svg
Browse files Browse the repository at this point in the history
  • Loading branch information
yinglj committed May 27, 2024
1 parent 5e42326 commit 53e979c
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion api/server/middleware/messageQuota.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const { getMessagesCount } = require('../../models');
const getUserMessageQuotaUsagePastDays = async (user, days = 30) => {
let currentTime = new Date();
let quota = 0;
if ('proMemberExpiredAt' in user && user.proMemberExpiredAt > currentTime) {
if (user && 'proMemberExpiredAt' in user && user.proMemberExpiredAt > currentTime) {
// If not proMember, check quota
quota = JSON.parse(process.env['CHAT_QUOTA_PER_MONTH_PRO_MEMBER']);
} else {
Expand Down
4 changes: 2 additions & 2 deletions api/server/routes/convos.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ router.post('/clear', async (req, res) => {

router.post('/update', async (req, res) => {
const update = req.body.arg;
console.log('in update', update);
// console.log('in update', update);
try {
const dbResponse = await saveConvo(req.user.id, update);
res.status(201).json(dbResponse);
Expand Down Expand Up @@ -238,7 +238,7 @@ router.post('/like', async (req, res) => {

router.post('/:conversationId/viewcount/increment', async (req, res) => {
const { conversationId } = req.params;
console.log(`routes: hit viewcount increment router for conversationId ${conversationId}`);
// console.log(`routes: hit viewcount increment router for conversationId ${conversationId}`);
try {
const dbResponse = await increaseConvoViewCount(conversationId);
// console.log(
Expand Down
4 changes: 2 additions & 2 deletions client/src/components/Auth/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ function Login() {

return (
<div className="relative flex min-h-screen flex-col bg-white dark:bg-gray-900">
<div className="mt-12 h-24 w-full bg-cover">
{/* <div className="mt-12 h-24 w-full bg-cover">
<img src="/assets/logo.svg" className="h-full w-full object-contain" alt="Logo" />
</div>
</div> */}
<div className="absolute bottom-0 left-0 md:m-4">
<ThemeSelector />
</div>
Expand Down
4 changes: 2 additions & 2 deletions client/src/components/Auth/Registration.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,9 @@ const Registration: React.FC = () => {

return (
<div className="relative flex min-h-screen flex-col bg-white dark:bg-gray-900">
<div className="mt-12 h-24 w-full bg-cover">
{/* <div className="mt-12 h-24 w-full bg-cover">
<img src="/assets/logo.svg" className="h-full w-full object-contain" alt="Logo" />
</div>
</div> */}
<div className="absolute bottom-0 left-0 md:m-4">
<ThemeSelector />
</div>
Expand Down
4 changes: 2 additions & 2 deletions client/src/components/Auth/RequestPasswordReset.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,9 @@ function RequestPasswordReset() {

return (
<div className="relative flex min-h-screen flex-col bg-white dark:bg-gray-900">
<div className="mt-12 h-24 w-full bg-cover">
{/* <div className="mt-12 h-24 w-full bg-cover">
<img src="/assets/logo.svg" className="h-full w-full object-contain" alt="Logo" />
</div>
</div> */}
<div className="absolute bottom-0 left-0 md:m-4">
<ThemeSelector />
</div>
Expand Down
4 changes: 2 additions & 2 deletions client/src/components/Auth/ResetPassword.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ function ResetPassword() {
} else {
return (
<div className="relative flex min-h-screen flex-col bg-white dark:bg-gray-900">
<div className="mt-12 h-24 w-full bg-cover">
{/* <div className="mt-12 h-24 w-full bg-cover">
<img src="/assets/logo.svg" className="h-full w-full object-contain" alt="Logo" />
</div>
</div> */}
<div className="absolute bottom-0 left-0 md:m-4">
<ThemeSelector />
</div>
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/Conversations/DropDownMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const DropDownMenu: FC<DropDownMenuProps> = ({
</button>
</TooltipTrigger>
<TooltipContent side="top" sideOffset={0}>
{tooltip}
{localize('com_ui_more_options')}
</TooltipContent>
</Tooltip>
</TooltipProvider>
Expand Down

0 comments on commit 53e979c

Please sign in to comment.