mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
fix(ui-shell): initialize platformName as empty string
Prevents "undefined" from being rendered.
This commit is contained in:
parent
cf2dc12546
commit
8950920a10
4 changed files with 40 additions and 61 deletions
|
@ -32,9 +32,9 @@
|
|||
/**
|
||||
* Specify the platform name
|
||||
* Alternatively, use the named slot "platform" (e.g. <span slot="platform">...</span>)
|
||||
* @type {string} [platformName]
|
||||
* @type {string} [platformName=""]
|
||||
*/
|
||||
export let platformName = undefined;
|
||||
export let platformName = "";
|
||||
|
||||
/**
|
||||
* Obtain a reference to the HTML anchor element
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue