-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
88b229d
commit cb839d0
Showing
7 changed files
with
36 additions
and
5 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
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import { observer } from 'mobx-react-lite'; | ||
import React from 'react'; | ||
|
||
import { PageUiStoreImpl } from './NoPermissionPageUiStore'; | ||
|
||
import { BodyScreen, Header, PageBody, PageStoreHOC } from '@/components'; | ||
import { PAGE_URL } from '@/configs/path'; | ||
|
||
const NoPermissionPage: React.FC = observer(() => { | ||
return ( | ||
<> | ||
<Header withBack={PAGE_URL.Home} title="경고" /> | ||
<PageBody> | ||
<BodyScreen>접근 권한이 없습니다.</BodyScreen> | ||
</PageBody> | ||
</> | ||
); | ||
}); | ||
|
||
export default PageStoreHOC(<NoPermissionPage />, { store: PageUiStoreImpl }); |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { makeAutoObservable } from 'mobx'; | ||
|
||
export class NoPermissionPageUiStore { | ||
constructor() { | ||
makeAutoObservable(this, {}, { autoBind: true }); | ||
} | ||
} | ||
|
||
export const PageUiStoreImpl = new NoPermissionPageUiStore(); |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
export { default as NoPermission } from './NoPermissionPage'; |
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