Skip to content

Commit

Permalink
slide fix
Browse files Browse the repository at this point in the history
  • Loading branch information
0x74h51N committed Aug 27, 2024
1 parent ea0dfb2 commit 7801817
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const OtherProjects = () => {
);
useEffect(() => {
const urlParts = pathname.split('/');
const currentChildPage = urlParts[2];
const currentChildPage = urlParts[3];
if (!currentChildPage || currentChildPage === '') {
setShow(false);
} else {
Expand Down
10 changes: 0 additions & 10 deletions i18n/settings.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
/**
* This i18n structure is implemented based on theese articles:
* https://carlogino.com/blog/nextjs-app-dir-i18n-cookie
* https://locize.com/blog/next-app-dir-i18n/#step-2
*
* Many thanks to the author for the detailed explanation.
* After implementing the i18n setups and server translation utility,
* it helped to multi-language metadata w/o sub-language prefixes or different domains.
*/

import type { InitOptions } from 'i18next';

export const FALLBACK_LOCALE = 'en';
Expand Down

0 comments on commit 7801817

Please sign in to comment.