overleaf/services/web/frontend/js/features/source-editor/utils/sub-view.ts
ilkin-overleaf 423f2604db Merge pull request #13500 from overleaf/ii-review-panel-migration-nav
[web] Create review panel navigation

GitOrigin-RevId: abed4171e9fd52de2f137a6cf7456791bc2ca161
2023-07-17 10:39:20 +00:00

4 lines
202 B
TypeScript

import { SubView } from '../../../../../types/review-panel'
export const isCurrentFileView = (view: SubView) => view === 'cur_file'
export const isOverviewView = (view: SubView) => view === 'overview'