chore: settings bug fixes and ui improvement (#2198)
* fix: settings bug fixes and ui improvement * chore: setting sidebar scroll fix & code refactor
This commit is contained in:
parent
3d72279edb
commit
5d331477ef
21 changed files with 108 additions and 101 deletions
|
|
@ -2,11 +2,7 @@ import React from "react";
|
|||
import { useRouter } from "next/router";
|
||||
import Link from "next/link";
|
||||
|
||||
type Props = {
|
||||
profilePage?: boolean;
|
||||
};
|
||||
|
||||
export const SettingsSidebar: React.FC<Props> = ({ profilePage = false }) => {
|
||||
export const SettingsSidebar = () => {
|
||||
const router = useRouter();
|
||||
const { workspaceSlug, projectId } = router.query;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue