All files / src/apps/user/pages/settings SessionLocationEmptyState.tsx

100% Statements 2/2
100% Branches 0/0
100% Functions 1/1
100% Lines 2/2

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14        1x     2x            
// core/src/apps/user/pages/settings/SessionLocationEmptyState.tsx
import React from "react";
 
/** Shared empty/loading placeholder for the globe and flat-map location views. */
export const SessionLocationEmptyState: React.FC<{ children: React.ReactNode }> = ({
  children,
}) => (
  <p className="text-sm text-gray-400 dark:text-gray-500 py-2 flex items-center gap-2">
    {children}
  </p>
);
 
export default SessionLocationEmptyState;