"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;

var _react = _interopRequireDefault(require("react"));

var _designSystem = require("../design-system");

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

const LoggedIn = props => {
  const {
    session,
    paths
  } = props;
  return _react.default.createElement(_designSystem.Box, {
    flexShrink: 0,
    py: "lg"
  }, _react.default.createElement(_designSystem.LoggedUser, {
    email: session.email,
    title: session.title
  }, _react.default.createElement(_designSystem.DropDownItem, null, _react.default.createElement(_designSystem.Link, {
    href: paths.logoutPath
  }, "Log out"))));
};

var _default = LoggedIn;
exports.default = _default;