File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
datahub-web-react/src/app/entityV2/view Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 11import { Button , PageTitle , Tabs , colors } from '@components' ;
2- import React , { useCallback , useEffect , useState } from 'react' ;
2+ import React , { useEffect , useState } from 'react' ;
33import { useLocation } from 'react-router' ;
44import styled from 'styled-components' ;
55
@@ -98,8 +98,6 @@ export const ManageViews = () => {
9898 }
9999 } , [ selectedTab , location . pathname ] ) ;
100100
101- const getCurrentUrl = useCallback ( ( ) => location . pathname , [ location . pathname ] ) ;
102-
103101 return (
104102 < PageContainer >
105103 < PageHeaderContainer >
@@ -129,7 +127,6 @@ export const ManageViews = () => {
129127 onChange = { ( tab ) => setSelectedTab ( tab as TabType ) }
130128 urlMap = { tabUrlMap }
131129 defaultTab = { TabType . Personal }
132- getCurrentUrl = { getCurrentUrl }
133130 />
134131 </ ListContainer >
135132 { showViewBuilder && (
You can’t perform that action at this time.
0 commit comments