Skip to content

Commit

Permalink
PWA fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jLynx committed Jan 1, 2024
1 parent b4bbfe9 commit 4739ed2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"start": "npx serve@latest out",
"lint": "next lint"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/SerialLoader/SerialLoader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const SerialLoader = ({ children }: PropsWithChildren<SerialLoaderProps>) => {
if (!canUseSerial) {
return (
<div
className="absolute inset-0 w-full h-full flex flex-col flex-1 min-h-screen items-center justify-center"
className="absolute inset-0 w-full h-full flex flex-col flex-1 min-h-screen items-center justify-center text-black"
>
<div className="flex flex-col w-full max-w-lg p-6 bg-white rounded-xl">
<h1 className="text-xl font-medium -mt-1 mb-2">Error</h1>
Expand Down

0 comments on commit 4739ed2

Please sign in to comment.