cleanup and fix formatting for utils and packages

This commit is contained in:
Gregor Vostrak
2024-08-22 15:43:04 +02:00
parent 1328692faf
commit 249b1b5820
6 changed files with 26 additions and 65 deletions

View File

@@ -10,7 +10,6 @@ function getCurrentUserId() {
return page.props.auth.user.id;
}
function getCurrentOrganizationId() {
return page.props.auth.user.current_team_id;
}
@@ -27,8 +26,6 @@ function getCurrentRole() {
)?.membership.role;
}
export {
getCurrentOrganizationId,
getCurrentUserId,