Skip to content

Commit b093917

Browse files
committed
cleanup
1 parent 49478be commit b093917

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

components/dashboard/src/data/git-providers/github-queries.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export const useAreGithubWebhooksUnauthorized = (providerHost: string) => {
3636
return false;
3737
}
3838

39+
// Finally, check token for the right scopes - if missing, then uanuthorized
3940
if (!token || !token.scopes.includes("repo")) {
4041
return true;
4142
}

components/dashboard/src/projects/NewProject.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export default function NewProject() {
5858
redirectToNewWorkspace();
5959
}, [project?.cloneUrl]);
6060

61-
// Show that project was created
61+
// Show that the project was created
6262
if (project) {
6363
return (
6464
<div className="flex flex-col w-96 mt-24 mx-auto items-center">

components/dashboard/src/projects/new-project/NewProjectSearchInput.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ export const NewProjectSearchInput: FC<Props> = ({ searchFilter, onSearchFilterC
2121
alt="search icon"
2222
/>
2323
<input
24-
className="w-96 pl-10 border-0"
24+
className="w-96 pl-10 border-0 max-w-full"
2525
type="search"
2626
placeholder="Search Repositories"
2727
value={searchFilter}
2828
onChange={(e) => onSearchFilterChange(e.target.value)}
29-
></input>
29+
/>
3030
</div>
3131
);
3232
};

0 commit comments

Comments
 (0)