mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-17 10:11:31 +10:00
fixes #2151, apply secure cookie session only if using SSL (https)
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import { LayoutLocator } from "./types";
|
||||
import type { LayoutLocator } from "./types";
|
||||
|
||||
// Function to find a specific item in a layout
|
||||
export const findItemInLayout = (item: string, layout: string[][][]): LayoutLocator | null => {
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
import Papa from "papaparse";
|
||||
|
||||
import { Json } from "./types";
|
||||
import type { Json } from "./types";
|
||||
|
||||
export const parseCSV = async (string: string) => {
|
||||
return new Promise<Json[]>((resolve, reject) => {
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
import { adjectives, animals, uniqueNamesGenerator } from "unique-names-generator";
|
||||
|
||||
import { LayoutLocator, SortablePayload } from "./types";
|
||||
import type { LayoutLocator, SortablePayload } from "./types";
|
||||
|
||||
export const getInitials = (name: string) => {
|
||||
// eslint-disable-next-line unicorn/better-regex
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
import { ClassValue, clsx } from "clsx";
|
||||
import type { ClassValue } from "clsx";
|
||||
import { clsx } from "clsx";
|
||||
import { twMerge } from "tailwind-merge";
|
||||
|
||||
export const breakpoints = {
|
||||
|
||||
Reference in New Issue
Block a user