Skip to content

Commit

Permalink
apply some of the fixes from #41
Browse files Browse the repository at this point in the history
  • Loading branch information
JLarky committed May 19, 2023
1 parent e1d1a48 commit c3f2f11
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ module.exports = {
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-empty-function': 'off',
'typescript-sort-keys/interface': 'off',
'no-empty-pattern': 'error',

// Stylistic concerns that don't interfere with Prettier
'padding-line-between-statements': 'off',
Expand Down
2 changes: 1 addition & 1 deletion src/components/app/Nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export function AppNav() {
>
<img
src={pictureUrl}
alt="User Image"
alt="current user"
className="object-contain h-8 w-8 rounded-full"
id="userMenuButton"
/>
Expand Down
5 changes: 2 additions & 3 deletions src/components/app/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -211,16 +211,15 @@ function Interal() {
<tr>
<td className="whitespace-nowrap py-4 pl-4 pr-3 text-sm font-medium text-gray-900 sm:pl-6 lg:pl-8">
No keys are configured,{' '}
<a
href="#"
<button
className="text-blue-500 hover:text-blue-700 underline"
onClick={(e) => {
e.preventDefault();
toggleShowAddKey();
}}
>
add one
</a>{' '}
</button>{' '}
to start using prompts.
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/trpc/routers/surveys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { surveys } from '../../../db/schema';
import { createTRPCRouter, publicProcedure } from '../trpc';

export const surveysRouter = createTRPCRouter({
getPublic: publicProcedure.query(async ({}) => {
getPublic: publicProcedure.query(async () => {
return await db
.select({
id: surveys.id,
Expand Down

1 comment on commit c3f2f11

@vercel
Copy link

@vercel vercel bot commented on c3f2f11 May 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.