diff --git a/packages/interface/src/components/file/Sidebar.tsx b/packages/interface/src/components/file/Sidebar.tsx index 11001a49a..b01316ad7 100644 --- a/packages/interface/src/components/file/Sidebar.tsx +++ b/packages/interface/src/components/file/Sidebar.tsx @@ -41,28 +41,20 @@ const Heading: React.FC<{ children: React.ReactNode }> = ({ children }) => (
{children}
); -export const MacOSTrafficLightsSpace: React.FC<{ children?: React.ReactNode }> = (props) => { - const { children } = props; - - return ( -
-
{children}
-
- ); -}; - export function MacOSTrafficLights() { const appPropsContext = useContext(AppPropsContext); return ( - - - +
+
+ +
+
); } @@ -84,9 +76,11 @@ export const Sidebar: React.FC = (props) => { ]; return ( -
+
{appPropsContext?.platform === 'browser' ? : null} - {appPropsContext?.platform === 'macOS' ? : null} + {appPropsContext?.platform === 'macOS' ? ( +
+ ) : null}