[PR #13] [CLOSED] Solve error for Sidebar and localStorage not define when loading the template with SSR #20

Closed
opened 2026-03-02 03:42:40 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/cruip/tailwind-dashboard-template/pull/13
Author: @Angra974
Created: 9/15/2022
Status: Closed

Base: mainHead: main


📝 Commits (2)

  • 65ffd79 Added flatpickr as devDependencies
  • 0cf60d0 Resolve localStorage is not defined in SSR mode

📊 Changes

3 files changed (+1330 additions, -1 deletions)

View changed files

📝 package.json (+1 -0)
pnpm-lock.yaml (+1327 -0)
📝 src/partials/Sidebar.jsx (+2 -1)

📄 Description

Hi again.
I'm not used to git, so I don't know how to not send the first pull request at the same time, so sorry for this.

For the second, my screen is split into 2.
On the left, you have the application launched normally with "pnpm dev"
On the right, you have the application loaded with SSR.
Loaded without change on SSR The first image is without change in the source.

Loaded with change on SSR the second image is after applying the change, and it has no incidence on the application except in SSR.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/cruip/tailwind-dashboard-template/pull/13 **Author:** [@Angra974](https://github.com/Angra974) **Created:** 9/15/2022 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (2) - [`65ffd79`](https://github.com/cruip/tailwind-dashboard-template/commit/65ffd791c914379fca8b356183f0f5381bbd9018) Added flatpickr as devDependencies - [`0cf60d0`](https://github.com/cruip/tailwind-dashboard-template/commit/0cf60d03041c84404f7da3872d93d416f68ebc2b) Resolve localStorage is not defined in SSR mode ### 📊 Changes **3 files changed** (+1330 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `package.json` (+1 -0) ➕ `pnpm-lock.yaml` (+1327 -0) 📝 `src/partials/Sidebar.jsx` (+2 -1) </details> ### 📄 Description Hi again. I'm not used to git, so I don't know how to not send the first pull request at the same time, so sorry for this. For the second, my screen is split into 2. On the left, you have the application launched normally with "pnpm dev" On the right, you have the application loaded with SSR. [Loaded without change on SSR](https://ibb.co/Y7cvkRQ) The first image is without change in the source. [Loaded with change on SSR ](https://ibb.co/XWtVTPw) the second image is after applying the change, and it has no incidence on the application except in SSR. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 03:42:40 +03:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tailwind-dashboard-template#20
No description provided.