-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔥(frontend) remove temporarily team feature
We want to make a first realease, but the team feature is not ready yet. So we will hide it for now by hiding the menu. We will still let the feature in dev environment.
- Loading branch information
Showing
5 changed files
with
14 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
NEXT_PUBLIC_API_ORIGIN=http://localhost:8071 | ||
NEXT_PUBLIC_FEATURE_TEAM=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
NEXT_PUBLIC_API_ORIGIN=http://test.jest | ||
NEXT_PUBLIC_FEATURE_TEAM=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,6 @@ | ||
import type { ReactElement } from 'react'; | ||
import MailDomains from './mail-domains'; | ||
import Teams from './teams'; | ||
|
||
import { TeamLayout } from '@/features/teams/team-management'; | ||
import { NextPageWithLayout } from '@/types/next'; | ||
|
||
import Teams from './teams/'; | ||
|
||
const Page: NextPageWithLayout = () => { | ||
return <Teams />; | ||
}; | ||
|
||
Page.getLayout = function getLayout(page: ReactElement) { | ||
return <TeamLayout>{page}</TeamLayout>; | ||
}; | ||
|
||
export default Page; | ||
export default process.env.NEXT_PUBLIC_FEATURE_TEAM === 'true' | ||
? Teams | ||
: MailDomains; |