Skip to content

Commit

Permalink
Fix conflicts while merging with staging
Browse files Browse the repository at this point in the history
  • Loading branch information
petark7 committed Dec 1, 2024
1 parent 68c9ce5 commit 2130c6b
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 5 deletions.
1 change: 1 addition & 0 deletions app/signup/page.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable no-console */
// pages/signup/index.tsx

'use client';
Expand Down
2 changes: 1 addition & 1 deletion components/module-components/blog/TagInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import useDebounce from '../../../utils/hooks/useDebounce';
import useAddNewTag from '../../../apis/mutations/tags/useAddNewTag';

export interface TagObject {
id: number;
id: string;
name: string;
created_at: string;
updated_at: string;
Expand Down
2 changes: 1 addition & 1 deletion components/module-components/blog/TagList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import styles from './TagList.module.scss';

interface TagListProps {
selectedTags: TagObject[];
onRemoveTag: (tagId: number) => void;
onRemoveTag: (tagId: string) => void;
}

const TagList = ({ selectedTags, onRemoveTag }: TagListProps) => {
Expand Down
2 changes: 1 addition & 1 deletion components/module-components/blog/TagManager.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interface TagManagerProps {
}

const TagManager = ({ selectedTags, onTagsChange }: TagManagerProps) => {
const handleRemoveTag = (tagId: number) => {
const handleRemoveTag = (tagId: string) => {
onTagsChange(selectedTags.filter((tag) => tag.id !== tagId));
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
.dropdownButton {
height: 100%;
display: flex;
justify-content: end;
justify-content: flex-end;
font-size: var(--fs-button);
font-weight: 400;
background-color: #ffffff;
Expand Down
3 changes: 2 additions & 1 deletion utils/actions/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ export async function getNewToken({
const data: RefreshTokenResponse = await response.json();
return data.new_token;
} catch (error: any) {
// console.error({ msg: 'Error from getNewToken', error });
// eslint-disable-next-line no-console
console.error({ msg: 'Error from getNewToken', error });
return null;
}
}
1 change: 1 addition & 0 deletions utils/authOptions.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable no-console */
import { NextAuthOptions } from 'next-auth';
import GithubProvider from 'next-auth/providers/github';
import GoogleProvider from 'next-auth/providers/google';
Expand Down

0 comments on commit 2130c6b

Please sign in to comment.