Skip to content

Commit

Permalink
updated frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
cophilot committed Nov 30, 2023
1 parent dcdcd42 commit 771b719
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
1 change: 0 additions & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ fi

# Check if the string contains 2 words
wordCount=$(echo "$message" | wc -w)
echo "wordCount: $wordCount"
if [ $wordCount -lt 2 ]; then
echo "🚨 Wrong commit message! 😕"
echo "Error: Commit message should contain at least 2 words."
Expand Down
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ then
fi

# check for eslint errors
npm run lint
npm run lint

# check comments
npm run comment:check
Expand Down
1 change: 0 additions & 1 deletion src/components/Profile/Profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ function Profile() {

const [username] = useState(getUserName());
const [fileNames, setFileNames] = useState<string[]>([]);

const getFiles = async () => {
APIService.getFileNames(username).then((res) => {
setFileNames(res);
Expand Down
6 changes: 3 additions & 3 deletions todos.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

<!-- - [ ] This is an TODO example -->

- [ ] let user register _(2023-11-29 Phil1436)_
- [ ] let user manage collections _(2023-11-29 Phil1436)_
- [ ] let user add files to collection _(2023-11-29 Phil1436)_
- [ ] let user register _(2023-11-29 Phil1436)_
- [ ] let user manage collections _(2023-11-29 Phil1436)_
- [ ] let user add files to collection _(2023-11-29 Phil1436)_

0 comments on commit 771b719

Please sign in to comment.