MCPcopy Index your code
hub / github.com/Packstack-Tech/packstack / isEditable

Function isEditable

frontend/src/app/Pack/Pack.tsx:77–81  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75
76 const userPack = app.userInfo && app.userInfo.id === pack.userId;
77 const isEditable = () => userPack && (
78 <div className="edit-link">
79 <Link to={`/pack/${pack.id}`}>Edit</Link>
80 </div>
81 );
82
83
84 return (

Callers 1

PackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected