Skip to content

Commit

Permalink
Merge pull request #45 from urdego/feature/#14-scripts-optimizing
Browse files Browse the repository at this point in the history
Feature/#44: ๋น„๋™๊ธฐ ์ปดํฌ๋„ŒํŠธ ์ตœ์ ํ™”
minjeongss authored Jan 8, 2025
2 parents d1dc8a2 + ef808e3 commit bf4a777
Showing 4 changed files with 10 additions and 30 deletions.
7 changes: 4 additions & 3 deletions app/(nav)/placeRegister/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
import Script from 'next/script';
import React, { Suspense } from 'react';
import React from 'react';

export default function PlaceRegisterLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<Suspense>
<>
<Script
id="google-maps-script"
src={`https://maps.googleapis.com/maps/api/js?key=${process.env.NEXT_PUBLIC_LOCATION_REGISTER_GOOGLE_MAPS_API_KEY}&libraries=places&loading=async`}
strategy="beforeInteractive"
/>
<>{children}</>
</Suspense>
</>
);
}
2 changes: 1 addition & 1 deletion app/metadata.ts
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ export const metadata: Metadata = {
},
description: 'Where am I? Urdego!',
icons: {
icon: '/favicon-face(transparent).svg',
icon: '/favicon.svg',
},
};

15 changes: 0 additions & 15 deletions public/favicon-face.svg

This file was deleted.

16 changes: 5 additions & 11 deletions public/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit bf4a777

Please sign in to comment.