mirror of
https://github.com/RoboSats/robosats.git
synced 2025-08-05 15:40:06 +00:00

* Add SVG icons for map pins * Add federation basis and new coordinator form (#793) * Add new coordinator entry issue form * Add Federation basis * Fix eslint errors from F2F and fix languages * Redo eslint @typescript-eslint/strict-boolean-expressions * Robot Page working * Contexts Working * Garage Working * CurrentOrder working * Federation model working --------- Co-authored-by: Reckless_Satoshi <reckless.satoshi@protonmail.com> Co-authored-by: Reckless_Satoshi <90936742+Reckless-Satoshi@users.noreply.github.com>
9 lines
277 B
TypeScript
9 lines
277 B
TypeScript
import NavBar from './NavBar';
|
|
|
|
export type Page = 'robot' | 'order' | 'create' | 'offers' | 'settings' | 'none';
|
|
export default NavBar;
|
|
|
|
export function isPage(page: string): page is Page {
|
|
return ['robot', 'order', 'create', 'offers', 'settings', 'none'].includes(page);
|
|
}
|