Skip to content

Commit

Permalink
🚧 some changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Fredkiss3 committed Jan 17, 2024
1 parent 03c3797 commit f881128
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/app/(app)/settings/account/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const metadata: Metadata = {
title: "Account settings"
};

export default async function Page() {
export default async function AccountSettingsPage() {
const user = await getUserOrRedirect("/settings/account");

return (
Expand Down
16 changes: 6 additions & 10 deletions src/lib/shared/cache-keys.shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,9 @@ export const CacheKeys = {
props.repo,
props.number
],
geo: (ip: string) => ["GEO", ip]
],
markdownPreview: (props:
{
repositoryPath: `${string}/${string}`;
content: string;
}
) => ["MARKDOWN_PREVIEW", props.repositoryPath, props.content]
} as
const;
geo: (ip: string) => ["GEO", ip],
markdownPreview: (props: {
repositoryPath: `${string}/${string}`;
content: string;
}) => ["MARKDOWN_PREVIEW", props.repositoryPath, props.content]
} as const;

0 comments on commit f881128

Please sign in to comment.